Imported fix from dev: 649:46c12773c8df - Fixed problems that came up if a client was infected through admin after the round started, but before the freezetime expired.
This commit is contained in:
parent
b39a684fd8
commit
04a8fef584
@ -362,6 +362,12 @@ InfectOnRoundFreezeEnd()
|
|||||||
KillTimer(tInfect);
|
KillTimer(tInfect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the zombie has spawned already (had to be through admin) then stop.
|
||||||
|
if (g_bZombieSpawned)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Get min and max times.
|
// Get min and max times.
|
||||||
new Float:infectspawntimemin = GetConVarFloat(g_hCvarsList[CVAR_INFECT_SPAWNTIME_MIN]);
|
new Float:infectspawntimemin = GetConVarFloat(g_hCvarsList[CVAR_INFECT_SPAWNTIME_MIN]);
|
||||||
new Float:infectspawntimemax = GetConVarFloat(g_hCvarsList[CVAR_INFECT_SPAWNTIME_MAX]);
|
new Float:infectspawntimemax = GetConVarFloat(g_hCvarsList[CVAR_INFECT_SPAWNTIME_MAX]);
|
||||||
|
Loading…
Reference in New Issue
Block a user