Skip to content

Commit 3ca9554

Browse files
committed
Fix unused parameter
1 parent 39d1fc7 commit 3ca9554

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ImperatorToCK3/CK3/Characters/CharacterCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ internal void GenerateSuccessorsForOldCharacters(Title.LandedTitles titles, Cult
799799
// For characters that don't hold any titles, just set up a death date.
800800
var randomForCharactersWithoutTitles = new Random((int)randomSeed);
801801
foreach (var oldCharacter in oldCharactersWithoutTitles) {
802-
SetUpDeathDateForCharacterWithoutTitles(oldCharacter, irSaveDate, ck3BookmarkDate, randomForCharactersWithoutTitles);
802+
SetUpDeathDateForCharacterWithoutTitles(oldCharacter, irSaveDate, randomForCharactersWithoutTitles);
803803
}
804804

805805
var heldTitlesByHolderIdLists = new Dictionary<string, List<Title>>(StringComparer.Ordinal);
@@ -829,7 +829,7 @@ internal void GenerateSuccessorsForOldCharacters(Title.LandedTitles titles, Cult
829829
Parallel.ForEach(oldTitleHolders, oldCharacter => GenerateSuccessorsForCharacter(oldCharacter, titlesByHolderId, cultureIdToMaleNames, irSaveDate, ck3BookmarkDate, randomSeed));
830830
}
831831

832-
private void SetUpDeathDateForCharacterWithoutTitles(Character oldCharacter, Date irSaveDate, Date ck3BookmarkDate, Random random) {
832+
private void SetUpDeathDateForCharacterWithoutTitles(Character oldCharacter, Date irSaveDate, Random random) {
833833
// Roll a dice to determine how much longer the character will live.
834834
var monthsToLive = random.Next(1, 30 * 12); // Can live up to 30 years more.
835835

0 commit comments

Comments
 (0)