i probably never get this right
This commit is contained in:
parent
cbb9cc5817
commit
d2a8f3a49d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user