Skip to content
Snippets Groups Projects
Commit c9417f26 authored by James R.'s avatar James R.
Browse files

Fix pop original table in lua net archive

parent 0f4eb4fa
No related branches found
No related tags found
1 merge request!1307Hooklib refactor
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment