1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-29 11:24:19 +01:00

Remove unintended change that snuck in with last commit.

This commit is contained in:
Nicholas Hastings 2017-02-18 14:15:07 -05:00
parent b070ac2f6b
commit ba7b123f87

View File

@ -221,10 +221,6 @@ void BaseProvider::Notify_DLLInit_Pre(CreateInterfaceFn engineFactory,
g_pCVar = icvar;
#endif
#if SOURCE_ENGINE == SE_DOTA
ConVar_Register(0, &g_SMConVarAccessor);
#endif
g_SMConVarAccessor.RegisterConCommandBase(&meta_local_cmd);
CacheUserMessages();
@ -250,10 +246,6 @@ void BaseProvider::Notify_DLLInit_Pre(CreateInterfaceFn engineFactory,
void BaseProvider::Notify_DLLShutdown_Pre()
{
#if SOURCE_ENGINE == SE_DOTA
ConVar_Unregister();
#endif
g_SMConVarAccessor.RemoveMetamodCommands();
#if SOURCE_ENGINE == SE_DARKMESSIAH