Skip to content

Commit

Permalink
Merge pull request #246 from arunasradv/arunasradv/issue_major_bug
Browse files Browse the repository at this point in the history
fix issue #221
  • Loading branch information
bennyz authored Dec 19, 2023
2 parents 86e7568 + 0421c9e commit 6fe71ac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private void OnHeroKilled(Hero victim, Hero killer, KillCharacterAction.KillChar
return;
}

_warExhaustionManager.AddHeroPerishedWarExhaustion(kingdoms, victim, killer.PartyBelongedTo.Name ?? effector!.Name, detail);
_warExhaustionManager.AddHeroPerishedWarExhaustion(kingdoms, victim, killer.PartyBelongedTo?.Name ?? effector!.Name, detail);
}


Expand Down Expand Up @@ -251,4 +251,4 @@ public override void SyncData(IDataStore dataStore)
}
}
}
}
}

0 comments on commit 6fe71ac

Please sign in to comment.