diff --git a/zombie_hunting_respawn/zh_respawn_stop.sp b/zombie_hunting_respawn/zh_respawn_stop.sp index 492a7139..28f6ed6c 100644 --- a/zombie_hunting_respawn/zh_respawn_stop.sp +++ b/zombie_hunting_respawn/zh_respawn_stop.sp @@ -247,7 +247,10 @@ public void OnPluginEnd() if (g_hZoneCounter != null) delete g_hZoneCounter; if (g_hZoneBenefits != null) + { delete g_hZoneBenefits; + g_hZoneBenefits = INVALID_HANDLE; + } } //---------------------------------------------------------------------------------------------------- @@ -304,7 +307,7 @@ public void OnRoundEnd(Event hEvent, const char[] sEvent, bool bDontBroadcast) { if(g_hZoneBenefits != INVALID_HANDLE) { - KillTimer(g_hZoneBenefits); + delete g_hZoneBenefits; g_hZoneBenefits = INVALID_HANDLE; } round_start_delay = true;