diff --git a/hlstatsx_difficulty/scripting/hlstatsx_difficulty.sp b/hlstatsx_difficulty/scripting/hlstatsx_difficulty.sp index 812bec4..7256030 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);