fix stack popping after compilation error (bug #18977)
This commit is contained in:
parent
1fdb9baecc
commit
d2745bae08
1 changed files with 1 additions and 1 deletions
|
@ -3999,7 +3999,7 @@ bool LuaKernel::execute(char const *prog, int nArgs, int nRets)
|
|||
char const *m = lua_tostring(L, -1);
|
||||
chat_message("Lua error", m);
|
||||
ERR_LUA << m << '\n';
|
||||
lua_pop(L, 2);
|
||||
lua_pop(L, 1);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue