Technically not necessary, but safer

This commit is contained in:
Emik 2026-10-06 01:42:11 +02:00
parent ce8362460e
commit 4ff7b13628
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 5 additions and 3 deletions

View file

@ -16,5 +16,5 @@
"Bakery (>=3.0.0~*)" "Bakery (>=3.0.0~*)"
], ],
"conflicts": [], "conflicts": [],
"version": "1.12.9" "version": "1.12.10"
} }

View file

@ -664,7 +664,9 @@ back {
} }
function Jane.display_omega_odds() 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 return
end end
@ -735,7 +737,7 @@ back {
end, end,
apply = function(_) apply = function(_)
G.GAME.banned_keys.j_Bakery_Lua = true 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, end,
alt_calculate = function(_, ...) alt_calculate = function(_, ...)
for _, v in pairs(G.P_CENTERS) do for _, v in pairs(G.P_CENTERS) do