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:
parent
371e9f2f93
commit
e74b5807a9
@ -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[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[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);
|
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 */
|
/* Account for late loading */
|
||||||
TopMenu topmenu;
|
TopMenu topmenu;
|
||||||
|
Loading…
Reference in New Issue
Block a user