Technically not necessary, but safer
This commit is contained in:
parent
ce8362460e
commit
7e336fcbc8
2 changed files with 5 additions and 3 deletions
|
|
@ -16,5 +16,5 @@
|
||||||
"Bakery (>=3.0.0~*)"
|
"Bakery (>=3.0.0~*)"
|
||||||
],
|
],
|
||||||
"conflicts": [],
|
"conflicts": [],
|
||||||
"version": "1.12.9"
|
"version": "1.12.10"
|
||||||
}
|
}
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue