Fixed a race condition caused by disabling and enabling a Lua script with scr_patch more than once.
This commit is contained in:
parent
6bc6801fec
commit
f08dad6c4e
@ -27,7 +27,6 @@ namespace lua::scr_patch
|
||||
|
||||
scr_patch::~scr_patch()
|
||||
{
|
||||
disable();
|
||||
big::g_script_patcher_service->remove_patch(m_patch_name);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user