diff --git a/src/lua_infolib.c b/src/lua_infolib.c index ae171c623..4cf0e413f 100644 --- a/src/lua_infolib.c +++ b/src/lua_infolib.c @@ -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;