forked from UNLOZE/sm-plugins
FakePopulation: big update
+ edit ZombieManager to avoid fakes being motherzombie
This commit is contained in:
@@ -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))
|
||||
if(g_bTestRound || (GetClientIdleTime(client) > g_iAFKTime && motherInfect) || IsFakeClient(client))
|
||||
return Plugin_Handled;
|
||||
|
||||
return Plugin_Continue;
|
||||
|
||||
Reference in New Issue
Block a user