fix broken zm mode
This commit is contained in:
parent
d1daaee1a7
commit
115d24b997
|
@ -599,6 +599,9 @@ ZSpawnCondition:GetZSpawnCondition(int client)
|
|||
case ZSpawn_Human:
|
||||
{
|
||||
condition = ZSpawn_Human;
|
||||
// Client has been infected this round, respawning as a zombie.
|
||||
if(condition == ZSpawn_Human && g_bZSpawnClientInfected[client])
|
||||
condition = ZSpawn_Zombie;
|
||||
}
|
||||
case ZSpawn_Zombie:
|
||||
{
|
||||
|
@ -608,9 +611,5 @@ ZSpawnCondition:GetZSpawnCondition(int client)
|
|||
}
|
||||
}
|
||||
|
||||
// Client has been infected this round, respawning as a zombie.
|
||||
if(condition == ZSpawn_Human && g_bZSpawnClientInfected[client])
|
||||
condition = ZSpawn_Zombie;
|
||||
|
||||
return condition;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user