Merge branch 'fix-stagefailed-checking' into 'next'

Fix reading the value of stagefailed

See merge request STJr/SRB2!1819
This commit is contained in:
MascaraSnake 2022-10-09 13:38:32 +00:00
commit 17801469fc

View file

@ -387,6 +387,7 @@ int LUA_PushGlobals(lua_State *L, const char *word)
return 1;
} else if (fastcmp(word, "stagefailed")) {
lua_pushboolean(L, stagefailed);
return 1;
} else if (fastcmp(word, "mouse")) {
LUA_PushUserdata(L, &mouse, META_MOUSE);
return 1;