We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d2bdac commit 536af82Copy full SHA for 536af82
repentogon/LuaInterfaces/Room/LuaRoomConfig.cpp
@@ -53,7 +53,7 @@ LUA_FUNCTION(Lua_RoomConfig_GetRandomRoom) {
53
bool reduceWeight = lua::luaL_checkboolean(L, 2);
54
55
int stage = (int)luaL_checkinteger(L, 3);
56
- if (stage < 0 || (stage > 17 && stage < 27) || stage > 36) {
+ if (stage < 0 || (stage > 17 && stage < 26) || stage > 36) {
57
return luaL_error(L, "Invalid stage %d\n", stage);
58
}
59
0 commit comments