From 5f8e8f7d53f98f6c92db391ae5dd4e96f51b0c7c Mon Sep 17 00:00:00 2001 From: zaCade Date: Mon, 8 Oct 2018 17:03:40 +0200 Subject: [PATCH] Dunno, Hopefully this fixes it. --- hlstatsx_difficulty/scripting/hlstatsx_difficulty.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlstatsx_difficulty/scripting/hlstatsx_difficulty.sp b/hlstatsx_difficulty/scripting/hlstatsx_difficulty.sp index 812bec49..72560308 100644 --- a/hlstatsx_difficulty/scripting/hlstatsx_difficulty.sp +++ b/hlstatsx_difficulty/scripting/hlstatsx_difficulty.sp @@ -61,7 +61,7 @@ public ZR_OnClientHumanPost(client, bool:respawn, bool:protect) //---------------------------------------------------------------------------------------------------- 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 = CreateTimer(G_hCvar_Difficulty_Humans_BlockTime.FloatValue, OnHumanPointsTimer);