From ecbcc7ba16d95d9ed06e2588fe20882afafe8242 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 27 Aug 2015 21:44:59 -0400 Subject: [PATCH] Move the sourcemod_version convar. --- core/sm_srvcmds.cpp | 2 -- core/sourcemm_api.cpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sm_srvcmds.cpp b/core/sm_srvcmds.cpp index 0836798c..ec733df5 100644 --- a/core/sm_srvcmds.cpp +++ b/core/sm_srvcmds.cpp @@ -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; diff --git a/core/sourcemm_api.cpp b/core/sourcemm_api.cpp index 8daeb2e0..f8f88a1d 100644 --- a/core/sourcemm_api.cpp +++ b/core/sourcemm_api.cpp @@ -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();