Skip to content

Commit

Permalink
fix issue #221
Browse files Browse the repository at this point in the history
  • Loading branch information
arunasradv committed Oct 21, 2023
1 parent 44724d3 commit 0421c9e
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 0421c9e

Please sign in to comment.