mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-12-01 13:24:25 +01:00
Remove unintended change that snuck in with last commit.
This commit is contained in:
parent
b070ac2f6b
commit
ba7b123f87
@ -221,10 +221,6 @@ void BaseProvider::Notify_DLLInit_Pre(CreateInterfaceFn engineFactory,
|
|||||||
g_pCVar = icvar;
|
g_pCVar = icvar;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SOURCE_ENGINE == SE_DOTA
|
|
||||||
ConVar_Register(0, &g_SMConVarAccessor);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
g_SMConVarAccessor.RegisterConCommandBase(&meta_local_cmd);
|
g_SMConVarAccessor.RegisterConCommandBase(&meta_local_cmd);
|
||||||
|
|
||||||
CacheUserMessages();
|
CacheUserMessages();
|
||||||
@ -250,10 +246,6 @@ void BaseProvider::Notify_DLLInit_Pre(CreateInterfaceFn engineFactory,
|
|||||||
|
|
||||||
void BaseProvider::Notify_DLLShutdown_Pre()
|
void BaseProvider::Notify_DLLShutdown_Pre()
|
||||||
{
|
{
|
||||||
#if SOURCE_ENGINE == SE_DOTA
|
|
||||||
ConVar_Unregister();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
g_SMConVarAccessor.RemoveMetamodCommands();
|
g_SMConVarAccessor.RemoveMetamodCommands();
|
||||||
|
|
||||||
#if SOURCE_ENGINE == SE_DARKMESSIAH
|
#if SOURCE_ENGINE == SE_DARKMESSIAH
|
||||||
|
Loading…
Reference in New Issue
Block a user