diff --git a/manifest.json b/manifest.json index 24e6356..82889fa 100644 --- a/manifest.json +++ b/manifest.json @@ -16,5 +16,5 @@ "Bakery (>=3.0.0~*)" ], "conflicts": [], - "version": "1.12.9" + "version": "1.12.10" } \ No newline at end of file diff --git a/src/back.lua b/src/back.lua index 73d848a..6843b6a 100644 --- a/src/back.lua +++ b/src/back.lua @@ -664,7 +664,9 @@ back { } function Jane.display_omega_odds() - if not ((G.GAME or {}).modifiers or {}).omega_replacement then + local omega_replacement = ((G.GAME or {}).modifiers or {}).omega_replacement + + if not omega_replacement or omega_replacement == 0 then return end @@ -735,7 +737,7 @@ back { end, apply = function(_) G.GAME.banned_keys.j_Bakery_Lua = true - G.GAME.modifiers.omega_replacement = (not _G["MP"] or not _G["MP"]["LOBBY"]) and 1 / 301 or nil + G.GAME.modifiers.omega_replacement = (not _G["MP"] or not _G["MP"]["LOBBY"]) and 1 / 301 or 0 end, alt_calculate = function(_, ...) for _, v in pairs(G.P_CENTERS) do