Skip to content

Commit 35a91f7

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent bc63b0f commit 35a91f7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

items/exotic.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ local universum = {
169169
--Universum Patches
170170
SMODS.Scoring_Parameter:take_ownership("mult", {
171171
level_up_hand = function(amount, hand)
172-
if not next(find_joker('cry-Universum')) then
173-
hand[self.key] = math.max(hand['s_'..self.key] + hand['l_'..self.key]*(hand.level - 1), 0)
172+
if not next(find_joker("cry-Universum")) then
173+
hand[self.key] = math.max(hand["s_" .. self.key] + hand["l_" .. self.key] * (hand.level - 1), 0)
174174
end
175-
end
175+
end,
176176
})
177177
local uht = update_hand_text
178178
function update_hand_text(config, vals)

lib/overrides.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,7 @@ if SMODS and SMODS.Mods and (not SMODS.Mods.Talisman or not SMODS.Mods.Talisman.
21172117
end
21182118
local chips = SMODS.Scoring_Parameters["chips"]
21192119
chips.current = mod_chips(chips.current ^ amount)
2120-
update_hand_text({delay = 0}, {chips = chips.current})
2120+
update_hand_text({ delay = 0 }, { chips = chips.current })
21212121
if not effect.remove_default_message then
21222122
if from_edition then
21232123
card_eval_status_text(
@@ -2151,7 +2151,7 @@ if SMODS and SMODS.Mods and (not SMODS.Mods.Talisman or not SMODS.Mods.Talisman.
21512151
end
21522152
local mult = SMODS.Scoring_Parameters["mult"]
21532153
mult.current = mod_mult(mult.current ^ amount)
2154-
update_hand_text({delay = 0}, {mult = mult.current})
2154+
update_hand_text({ delay = 0 }, { mult = mult.current })
21552155
if not effect.remove_default_message then
21562156
if from_edition then
21572157
card_eval_status_text(

0 commit comments

Comments
 (0)