Skip to content

Commit 27efd76

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 72bb963 commit 27efd76

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

items/misc_joker.lua

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4227,7 +4227,7 @@ local rnjoker = {
42274227
if valid_context then
42284228
local cond_passed = false
42294229
local times_passed = 1
4230-
if (j_context == "playing_card_added" and context.cards and context.cards[1]) then
4230+
if j_context == "playing_card_added" and context.cards and context.cards[1] then
42314231
times_passed = #context.cards
42324232
end
42334233
if j.cond then
@@ -4378,7 +4378,7 @@ local rnjoker = {
43784378
cond_passed = true
43794379
end
43804380
elseif j.cond == "odds" then
4381-
if (j_context == "playing_card_added" and context.cards and context.cards[1]) then
4381+
if j_context == "playing_card_added" and context.cards and context.cards[1] then
43824382
for i = 1, #context.cards do
43834383
if
43844384
SMODS.pseudorandom_probability(
@@ -4389,13 +4389,12 @@ local rnjoker = {
43894389
"RNJoker"
43904390
)
43914391
then
4392-
43934392
else
43944393
times_passed = math.max(0, times_passed - 1)
43954394
end
43964395
end
4397-
if times_passed == 0 then
4398-
cond_passed = false
4396+
if times_passed == 0 then
4397+
cond_passed = false
43994398
else
44004399
cond_passed = true
44014400
end

0 commit comments

Comments
 (0)