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;