This was a long time coming, but - renamed "sm convars" to "sm cvars"
This is sort of a consistency fix due to the "sm_cvar" command in basecommands.sp --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40996
This commit is contained in:
parent
546c471e2c
commit
6762b6c29f
@ -71,7 +71,7 @@ void ConVarManager::OnSourceModAllInitialized()
|
||||
m_ConVarType = g_HandleSys.CreateType("ConVar", this, 0, NULL, &sec, g_pCoreIdent, NULL);
|
||||
|
||||
/* Add the 'convars' option to the 'sm' console command */
|
||||
g_RootMenu.AddRootConsoleCommand("convars", "View convars created by a plugin", this);
|
||||
g_RootMenu.AddRootConsoleCommand("cvars", "View convars created by a plugin", this);
|
||||
}
|
||||
|
||||
void ConVarManager::OnSourceModShutdown()
|
||||
@ -98,7 +98,7 @@ void ConVarManager::OnSourceModShutdown()
|
||||
}
|
||||
|
||||
/* Remove the 'convars' option from the 'sm' console command */
|
||||
g_RootMenu.RemoveRootConsoleCommand("convars", this);
|
||||
g_RootMenu.RemoveRootConsoleCommand("cvars", this);
|
||||
|
||||
/* Remove the 'ConVar' handle type */
|
||||
g_HandleSys.RemoveType(m_ConVarType, g_pCoreIdent);
|
||||
|
Loading…
Reference in New Issue
Block a user