Huge protection improvements and other stuff (#1963)
* feat(protections): add a fuzzer * feat(protections): improve protections * feat(spoofing): add warning * feat(world): force object cleanup * fix(weapons): fix custom weapon code * fix(weapons): fix for #1983
This commit is contained in:
@ -65,7 +65,10 @@ namespace lua::script
|
||||
auto res = func(dummy_script_util);
|
||||
|
||||
if (!res.valid())
|
||||
{
|
||||
big::g_lua_manager->handle_error(res, res.lua_state());
|
||||
break;
|
||||
}
|
||||
|
||||
if (func.runnable())
|
||||
{
|
||||
@ -128,7 +131,10 @@ namespace lua::script
|
||||
auto res = func(dummy_script_util);
|
||||
|
||||
if (!res.valid())
|
||||
{
|
||||
big::g_lua_manager->handle_error(res, res.lua_state());
|
||||
break;
|
||||
}
|
||||
|
||||
if (func.runnable())
|
||||
{
|
||||
|
Reference in New Issue
Block a user