Fix reading the value of stagefailed

This commit is contained in:
SteelT 2022-09-30 20:27:54 -04:00
parent e08ebac5c8
commit 325675e277

View file

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