Fix pop original table in lua net archive

This commit is contained in:
James R 2021-06-10 17:47:03 -07:00
parent 0f4eb4fab9
commit c9417f26e5

View file

@ -851,7 +851,7 @@ void LUA_HookNetArchive(lua_CFunction archFunc)
init_hook_call(&hook, 1, 0, res_none);
call_mapped(&hook, map);
lua_pop(gL, 2); // pop hook table and archFunc
lua_pop(gL, 1); // pop archFunc
lua_remove(gL, EINDEX); // pop error handler
// stack: tables
}