Move the sourcemod_version convar.

This commit is contained in:
David Anderson 2015-08-27 21:44:59 -04:00
parent 6503e92d66
commit ecbcc7ba16
2 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,6 @@
RootConsoleMenu g_RootMenu;
ConVar sourcemod_version("sourcemod_version", SOURCEMOD_VERSION, FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY, "SourceMod Version");
RootConsoleMenu::RootConsoleMenu()
{
m_CfgExecDone = false;

View File

@ -60,6 +60,8 @@ int vsp_version = 0;
PLUGIN_EXPOSE(SourceMod, g_SourceMod_Core);
ConVar sourcemod_version("sourcemod_version", SOURCEMOD_VERSION, FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY, "SourceMod Version");
bool SourceMod_Core::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late)
{
PLUGIN_SAVEVARS();