ZombieManager: oops
This commit is contained in:
parent
8bf4b9363b
commit
25a55f6a1f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user