Fix: fakemeta hook not being unregistered (#483)
This commit is contained in:
parent
7c4688f557
commit
2559fcf00a
@ -107,6 +107,11 @@ void OnAmxxDetach()
|
||||
ConfigManager->CloseGameConfigFile(CommonConfig);
|
||||
ConfigManager->CloseGameConfigFile(GamerulesConfig);
|
||||
|
||||
if (HasRegameDll)
|
||||
{
|
||||
ReGameHookchains->InstallGameRules()->unregisterHook(InstallGameRules);
|
||||
}
|
||||
|
||||
while (!g_FreeTRs.empty())
|
||||
{
|
||||
delete g_FreeTRs.front();
|
||||
|
Loading…
Reference in New Issue
Block a user