mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 21:50:48 +00:00
Add missing lua_pop call
This commit is contained in:
parent
04826d2615
commit
de70934552
1 changed files with 1 additions and 0 deletions
|
@ -843,6 +843,7 @@ boolean LUA_CallAction(const char *csaction, mobj_t *actor)
|
|||
if (superstack == MAXRECURSION)
|
||||
{
|
||||
CONS_Alert(CONS_WARNING, "Max Lua Action recursion reached! Cool it on the calling A_Action functions from inside A_Action functions!\n");
|
||||
lua_pop(gL, 1); // pop function
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue