Fix faster planets (real)
This commit is contained in:
parent
50d35bbb4a
commit
d9df6e86ca
2 changed files with 7 additions and 6 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"id": "Roland",
|
||||
"name": "Roland",
|
||||
"prefix": "Roland",
|
||||
"version": "2.9.48",
|
||||
"version": "2.9.49",
|
||||
"badge_colour": "8BE9FD",
|
||||
"display_name": "Roland",
|
||||
"main_file": "src/main.lua",
|
||||
|
|
|
|||
|
|
@ -61,16 +61,17 @@ function G.FUNCS.use_card(e, ...)
|
|||
return orig_use_card(e, ...)
|
||||
end
|
||||
|
||||
local normal = ref.area ~= G.pack_cards or not G.GAME.pack_choices or G.GAME.pack_choices <= 0
|
||||
local normal = G.STATE == G.STATES.SHOP or
|
||||
ref.area ~= G.pack_cards or
|
||||
not G.GAME.pack_choices or
|
||||
G.GAME.pack_choices <= 0
|
||||
|
||||
ref.from_area = ref.from_area or ref.area
|
||||
play_sound("tarot1", percent, 0.6)
|
||||
discover_card(ref.config.center)
|
||||
ref:use_consumeable(ref.area)
|
||||
SMODS.calculate_context {area = ref.area, consumeable = ref, using_consumeable = true}
|
||||
|
||||
q(function()
|
||||
ref:remove()
|
||||
end)
|
||||
ref:remove()
|
||||
|
||||
if normal then
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue