Cleanup
This commit is contained in:
@@ -38,9 +38,6 @@ public void OnPluginStart()
|
||||
g_cvCount = CreateConVar("sm_event_announce_count", "3",
|
||||
"Rotate announcements through the next N upcoming events, one per announcement", _, true, 1.0, true, 20.0);
|
||||
|
||||
// CreateConVar keeps the old bounds when the cvar already exists (plugin reload),
|
||||
// so apply the lower bound explicitly.
|
||||
g_cvInterval.SetBounds(ConVarBound_Lower, true, -1.0);
|
||||
g_cvInterval.AddChangeHook(OnIntervalChanged);
|
||||
|
||||
AutoExecConfig(true, "EventNotifierAnnouncements");
|
||||
|
||||
Reference in New Issue
Block a user