Move OnConVarChanged into a global hook.

This commit is contained in:
David Anderson
2015-08-31 09:18:29 -07:00
parent 32ba03538b
commit 2ed044804d
8 changed files with 144 additions and 40 deletions
+4
View File
@@ -267,6 +267,8 @@ void SourceModBase::StartSourceMod(bool late)
}
g_pGameConf = logicore.GetCoreGameConfig();
sCoreProviderImpl.InitializeHooks();
/* Notify! */
pBase = SMGlobalClass::head;
while (pBase)
@@ -520,6 +522,8 @@ void SourceModBase::ShutdownServices()
}
m_freepacks.popall();
sCoreProviderImpl.ShutdownHooks();
/* Notify! */
pBase = SMGlobalClass::head;
while (pBase)