KnifeMadness: replace the bool

Death Event is pre, that's why it breaks shit. New Place right after force suicide
This commit is contained in:
Dogan 2019-11-08 17:00:22 +01:00
parent 128a0e355d
commit 20310b11ec

View File

@ -66,7 +66,6 @@ public Action OnClientDeath(Event hEvent, const char[] sEvent, bool bDontBroadca
return Plugin_Handled;
}
g_bClientKnifed[client] = false;
return Plugin_Continue;
}
@ -153,6 +152,7 @@ public Action KillZM(Handle timer, DataPack pack)
g_bSupressDeath[client] = true;
ForcePlayerSuicide(client);
g_bClientKnifed[client] = false;
if (!(IsValidClient(attacker, false)))
return;