Added additional client checks before spawning on spawn all command.

This commit is contained in:
richard 2008-11-15 19:11:36 +01:00
parent 99373d5720
commit 222d13643a

View File

@ -355,7 +355,10 @@ ZRSpawnAll(client)
{ {
for (new c = 1; c < maxclients; c++) for (new c = 1; c < maxclients; c++)
{ {
ZSpawn(c); if (IsClientConnected(c) && IsClientInGame(c))
{
ZSpawn(c);
}
} }
ZRAdminMenu(client); ZRAdminMenu(client);
} }