Skip to content

Commit 71f82ce

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 6c5eeca commit 71f82ce

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

items/deck.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,9 @@ local redeemed = {
220220
else
221221
area = G.play
222222
end
223-
if not G.cry_redeemed_buffer then G.cry_redeemed_buffer = {} end
223+
if not G.cry_redeemed_buffer then
224+
G.cry_redeemed_buffer = {}
225+
end
224226
if not G.cry_redeemed_buffer[v.key] and v.unlocked then
225227
local card = create_card("Voucher", area, nil, nil, nil, nil, v.key)
226228
G.cry_redeemed_buffer[v.key] = true

items/misc_joker.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,12 @@ local sus = {
13691369
local function is_impostor(card)
13701370
return card.base.value and SMODS.Ranks[card.base.value].key == "King" and card:is_suit("Hearts")
13711371
end
1372-
if context.end_of_round and context.cardarea == G.jokers and not context.blueprint and not context.retrigger_joker then
1372+
if
1373+
context.end_of_round
1374+
and context.cardarea == G.jokers
1375+
and not context.blueprint
1376+
and not context.retrigger_joker
1377+
then
13731378
if not card.ability.used_round or card.ability.used_round ~= G.GAME.round then
13741379
card.ability.chosen_card = nil
13751380
end

0 commit comments

Comments
 (0)