mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
fix shavit_zones_interval being ignored
This commit is contained in:
parent
1c9a7a756a
commit
580b886103
@ -165,11 +165,11 @@ public void OnPluginStart()
|
||||
gCV_Interval = CreateConVar("shavit_zones_interval", "1.0", "Interval between each time a mapzone is being drawn to the players.", 0, true, 0.5, true, 5.0);
|
||||
gCV_TeleportToStart = CreateConVar("shavit_zones_teleporttostart", "1", "Teleport players to the start zone on timer restart?\n0 - Disabled\n1 - Enabled", 0, true, 0.5, true, 5.0);
|
||||
|
||||
AutoExecConfig();
|
||||
|
||||
// draw
|
||||
// start drawing mapzones here
|
||||
CreateTimer(gCV_Interval.FloatValue, Timer_DrawEverything, INVALID_HANDLE, TIMER_REPEAT);
|
||||
|
||||
AutoExecConfig();
|
||||
}
|
||||
|
||||
public void OnPrefixChange(ConVar cvar, const char[] oldValue, const char[] newValue)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user