This commit is contained in:
Gurge44 authored and GitHub committed 2026-05-18 16:28:45 +02:00
1 parent 016bd001c7
commit 65666678b0
1 file changed
+2 -2
+2 -2
View File
@@ -366,7 +366,7 @@ internal static class GameEndChecker
}
}
toAdd.ForEach(x => WinnerIds.Add(x));
toAdd?.ForEach(x => WinnerIds.Add(x));
foreach (CustomRoles role in WinnerRoles) WinnerIds.UnionWith(Main.EnumeratePlayerControls().Where(x => x.GetCustomRole() == role).Select(x => x.PlayerId));
}
@@ -1517,4 +1517,4 @@ internal static class CheckEndGameViaTasksPatch
__result = false;
return false;
}
}
}