mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
check dc
This commit is contained in:
1 parent
55f18c7951
commit
dcb0b32edb
1 file changed
+1
-1
@@ -533,7 +533,7 @@ public static class KingOfTheZones
|
||||
if (ZoneDomination.ContainsValue(playerTeam))
|
||||
cd *= 1.5f;
|
||||
|
||||
Dictionary<KOTZTeam, byte[]> teamPlayers = PlayerTeams.GroupBy(x => x.Value).ToDictionary(x => x.Key, x => x.Select(g => g.Key).ToArray());
|
||||
Dictionary<KOTZTeam, byte[]> teamPlayers = PlayerTeams.GroupBy(x => x.Value).ToDictionary(x => x.Key, x => x.Select(g => g.Key).Where(g => g.GetPlayer()).ToArray());
|
||||
int maxTeamSize = teamPlayers.Values.Max(x => x.Length);
|
||||
int teamSize = teamPlayers[playerTeam].Length;
|
||||
|
||||
|
||||
Reference in new issue
Block a user