Move OnConVarChanged into a global hook.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user