diff --git a/src/libs/lua/src/lstate.c b/src/libs/lua/src/lstate.c index c1a76643..7778a827 100644 --- a/src/libs/lua/src/lstate.c +++ b/src/libs/lua/src/lstate.c @@ -236,6 +236,7 @@ static void preinit_thread (lua_State *L, global_State *g) { L->nny = 1; L->status = LUA_OK; L->errfunc = 0; + L->oldpc = 0; }