mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Optimize & Fix
This commit is contained in:
1 parent
eda2c98370
commit
6f99d060a8
31 files changed
+768
-809
No files matched your search
@@ -116,7 +116,7 @@ public static class SpamManager
|
||||
if (kick || !GameStates.IsInGame) Utils.SendMessage(msg);
|
||||
else
|
||||
{
|
||||
foreach (var pc in Main.AllPlayerControls.Where(x => x.IsAlive() == player.IsAlive()))
|
||||
foreach (var pc in Main.AllPlayerControls.Where(x => x.IsAlive() == player.IsAlive()).ToArray())
|
||||
Utils.SendMessage(msg, pc.PlayerId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user