Remove client check when resetting zombie flag on round end.

It doesn't matter whether the client is connected or not, all clients should reset to humans on round start anyways.

This may also fix a bug where mother zombies sometimes are not teleported to spawn, but it's unconfirmed (both the bug and the fix).
This commit is contained in:
Richard Helgeby 2015-02-12 19:01:23 +01:00
parent de8faa02ac
commit 743d17e05a

View File

@ -432,12 +432,6 @@ InfectOnRoundEnd()
// x = client index.
for (new x = 1; x <= MaxClients; x++)
{
// If client isn't in-game, then stop.
if (!IsClientInGame(x))
{
continue;
}
// Disable zombie flag on client.
bZombie[x] = false;
}