mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 21:23:21 +00:00
Fix an error thats happened for a year
This commit is contained in:
parent
f675dca10c
commit
12b55317c9
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -395,7 +395,7 @@ public void Event_GamemodeChange(ConVar cvar, const char[] oldValue, const char[
|
||||||
if(thirdPersonTimer != null)
|
if(thirdPersonTimer != null)
|
||||||
delete thirdPersonTimer;
|
delete thirdPersonTimer;
|
||||||
thirdPersonTimer = CreateTimer(1.0, Timer_CheckPlayers, _, TIMER_REPEAT);
|
thirdPersonTimer = CreateTimer(1.0, Timer_CheckPlayers, _, TIMER_REPEAT);
|
||||||
} else if(!lateLoaded) {
|
} else if(!lateLoaded && suspenseTimer != null) {
|
||||||
UnhookEvent("round_end", Event_RoundEnd);
|
UnhookEvent("round_end", Event_RoundEnd);
|
||||||
UnhookEvent("round_start", Event_RoundStart);
|
UnhookEvent("round_start", Event_RoundStart);
|
||||||
UnhookEvent("item_pickup", Event_ItemPickup);
|
UnhookEvent("item_pickup", Event_ItemPickup);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue