Add AutoExecConfig native call to basevotes.sp (#534)

Basevotes convars are missing from sourcemod.cfg and there is no config file for this, so I added AutoExecConfig.
This commit is contained in:
Luki
2016-10-14 13:16:45 -07:00
committed by Kyle Sanderson
parent 371e9f2f93
commit e74b5807a9
+2
View File
@@ -110,6 +110,8 @@ public void OnPluginStart()
g_Cvar_Limits[0] = CreateConVar("sm_vote_map", "0.60", "percent required for successful map vote.", 0, true, 0.05, true, 1.0);
g_Cvar_Limits[1] = CreateConVar("sm_vote_kick", "0.60", "percent required for successful kick vote.", 0, true, 0.05, true, 1.0);
g_Cvar_Limits[2] = CreateConVar("sm_vote_ban", "0.60", "percent required for successful ban vote.", 0, true, 0.05, true, 1.0);
AutoExecConfig(true, "basevotes");
/* Account for late loading */
TopMenu topmenu;