General: Apply ZSpawn logic on late spawners.
Improvement on `a45be16399`
This commit is contained in:
		@@ -278,14 +278,10 @@ InfectOnClientSpawn(client)
 | 
			
		||||
    // Disable zombie flag on client.
 | 
			
		||||
    g_bZombie[client] = false;
 | 
			
		||||
 | 
			
		||||
    // Check if client is spawning on the terrorist team.
 | 
			
		||||
    if (ZRIsClientOnTeam(client, CS_TEAM_T) && InfectHasZombieSpawned())
 | 
			
		||||
    {
 | 
			
		||||
        CS_SwitchTeam(client, CS_TEAM_CT);
 | 
			
		||||
        CS_RespawnPlayer(client);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    InfectUnglitchKevlar(client);
 | 
			
		||||
 | 
			
		||||
    // Forward event to modules.
 | 
			
		||||
    ZSpawnOnClientSpawn(client);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user