ZombieManager: oops

This commit is contained in:
Dogan 2019-09-29 19:58:26 +02:00
parent 8bf4b9363b
commit 25a55f6a1f

View File

@ -71,7 +71,7 @@ public void ZR_OnClientHumanPost(int client, bool respawn, bool protect)
public Action ZR_OnClientInfect(int &client, int &attacker, bool &motherInfect, bool &respawnOverride, bool &respawn) public Action ZR_OnClientInfect(int &client, int &attacker, bool &motherInfect, bool &respawnOverride, bool &respawn)
{ {
if(g_bTestRound || (GetClientIdleTime(client) > g_iAFKTime && motherInfect) || IsFakeClient(client)) if(g_bTestRound || (GetClientIdleTime(client) > g_iAFKTime && motherInfect) || (motherInfect && IsFakeClient(client)))
return Plugin_Handled; return Plugin_Handled;
return Plugin_Continue; return Plugin_Continue;