mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
add ?
This commit is contained in:
1 parent
016bd001c7
commit
65666678b0
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user