mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Massive Optimization + Added Summoner
This commit is contained in:
1 parent
66a0e02242
commit
317db05689
238 files changed
+2333
-1581
No files matched your search
@@ -137,7 +137,7 @@ public static class SpamManager
|
||||
Utils.SendMessage(msg, sendOption: SendOption.None);
|
||||
else
|
||||
{
|
||||
foreach (PlayerControl pc in Main.AllPlayerControls)
|
||||
foreach (PlayerControl pc in Main.EnumeratePlayerControls())
|
||||
if (pc.IsAlive() == player.IsAlive())
|
||||
Utils.SendMessage(msg, pc.PlayerId, sendOption: SendOption.None);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user