Skip to content

Commit ca9d78a

Browse files
committed
release prep, stylua pass
1 parent a13b190 commit ca9d78a

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

compatibility/Preview/InitPreview.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ function FN.PRE.start_new_coroutine()
2828
FN.PRE.show_preview = true
2929
FN.PRE.add_update_event("immediate") -- Force UI refresh
3030
local delay = 0
31-
if MP.LOBBY.code and not MP.is_pvp_boss() then
32-
delay = 5 * G.SETTINGS.GAMESPEED
33-
end
31+
if MP.LOBBY.code and not MP.is_pvp_boss() then delay = 5 * G.SETTINGS.GAMESPEED end
3432
local func = function()
3533
FN.PRE.simulate()
3634
FN.PRE.lock_updates = false

objects/decks/01_indigo.lua

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,10 @@ local function is_usable(card)
7676
elseif key == "c_wraith" or key == "c_soul" then
7777
return check_joker_space(card)
7878
elseif key == "c_ankh" then
79-
if G.jokers.cards[1] then
80-
return check_joker_space(card)
81-
end
79+
if G.jokers.cards[1] then return check_joker_space(card) end
8280
return false
8381
elseif card.ability.consumeable.max_highlighted then
84-
if #G.hand.cards >= (card.ability.consumeable.min_highlighted or 1) then
85-
return true
86-
end
82+
if #G.hand.cards >= (card.ability.consumeable.min_highlighted or 1) then return true end
8783
return false
8884
else
8985
return true

0 commit comments

Comments
 (0)