Fix script patches crashing game on unload (#590)

This commit is contained in:
maybegreat48
2022-11-12 21:02:50 +00:00
committed by GitHub
parent ade733e4a0
commit ddc70a76e0
8 changed files with 26 additions and 8 deletions

View File

@ -34,6 +34,7 @@ namespace big
native_hooks::~native_hooks()
{
m_script_hooks.clear();
g_native_hooks = nullptr;
}