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
+10
View File
@@ -716,6 +716,16 @@ bool CoreProviderImpl::LoadBridge(char *error, size_t maxlength)
return true;
}
void CoreProviderImpl::InitializeHooks()
{
hooks_.Start();
}
void CoreProviderImpl::ShutdownHooks()
{
hooks_.Shutdown();
}
void CoreProviderImpl::ShutdownBridge()
{
logic_ = nullptr;