mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-27 07:15:37 +03:00
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(CommonConfig);
|
||||||
ConfigManager->CloseGameConfigFile(GamerulesConfig);
|
ConfigManager->CloseGameConfigFile(GamerulesConfig);
|
||||||
|
|
||||||
|
if (HasRegameDll)
|
||||||
|
{
|
||||||
|
ReGameHookchains->InstallGameRules()->unregisterHook(InstallGameRules);
|
||||||
|
}
|
||||||
|
|
||||||
while (!g_FreeTRs.empty())
|
while (!g_FreeTRs.empty())
|
||||||
{
|
{
|
||||||
delete g_FreeTRs.front();
|
delete g_FreeTRs.front();
|
||||||
|
Loading…
Reference in New Issue
Block a user