From 325675e2772f968df6b7a0888fb9061c98e9ef80 Mon Sep 17 00:00:00 2001 From: SteelT Date: Fri, 30 Sep 2022 20:27:54 -0400 Subject: [PATCH] Fix reading the value of stagefailed --- src/lua_script.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lua_script.c b/src/lua_script.c index a36e5bf98..4d4071545 100644 --- a/src/lua_script.c +++ b/src/lua_script.c @@ -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;