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:
parent
de8faa02ac
commit
743d17e05a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user