Dunno, Hopefully this fixes it.

This commit is contained in:
zaCade 2018-10-08 17:03:40 +02:00
parent 0b33268448
commit 5f8e8f7d53

View File

@ -61,7 +61,7 @@ public ZR_OnClientHumanPost(client, bool:respawn, bool:protect)
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public Action:Event_RoundStart(Handle:event, const String:name[], bool:dontBroadcast) public Action:Event_RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{ {
if (g_hHumanPointsTimer != INVALID_HANDLE && KillTimer(g_hHumanPointsTimer)) if (g_hHumanPointsTimer != INVALID_HANDLE && CloseHandle(g_hHumanPointsTimer))
g_hHumanPointsTimer = INVALID_HANDLE; g_hHumanPointsTimer = INVALID_HANDLE;
g_hHumanPointsTimer = CreateTimer(G_hCvar_Difficulty_Humans_BlockTime.FloatValue, OnHumanPointsTimer); g_hHumanPointsTimer = CreateTimer(G_hCvar_Difficulty_Humans_BlockTime.FloatValue, OnHumanPointsTimer);