mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +00:00
Fix pop original table in lua net archive
This commit is contained in:
parent
0f4eb4fab9
commit
c9417f26e5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue