mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
Pop hook id fetched from table
This commit is contained in:
parent
c9417f26e5
commit
46ca9613c6
1 changed files with 1 additions and 0 deletions
|
@ -352,6 +352,7 @@ static void get_hook_from_table(Hook_State *hook, int n)
|
|||
{
|
||||
lua_rawgeti(gL, -1, n);
|
||||
hook->id = lua_tonumber(gL, -1);
|
||||
lua_pop(gL, 1);
|
||||
lua_getref(gL, hookRefs[hook->id]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue