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();