From 25a55f6a1f36984d025cea8bcfcb2149c492ca8b Mon Sep 17 00:00:00 2001 From: Dogan Date: Sun, 29 Sep 2019 19:58:26 +0200 Subject: [PATCH] ZombieManager: oops --- ZombieManager/scripting/ZombieManager.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZombieManager/scripting/ZombieManager.sp b/ZombieManager/scripting/ZombieManager.sp index c40a60e..183343d 100644 --- a/ZombieManager/scripting/ZombieManager.sp +++ b/ZombieManager/scripting/ZombieManager.sp @@ -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) { - 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_Continue;