Fix A_Lua not removing error handler from lua stack

This commit is contained in:
Indev 2024-10-25 23:15:52 +03:00 committed by NepDisk
parent 23bdf82d2b
commit c1788d07ab

View file

@ -711,6 +711,8 @@ static void A_Lua(mobj_t *actor)
lua_pushinteger(gL, var2);
LUA_Call(gL, 3, 0, 1);
lua_pop(gL, 1); // pop error handler
if (found)
{
--superstack;