Skip to content

Commit 7de67bf

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent c15787a commit 7de67bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ascended.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,12 @@ function G.FUNCS.get_poker_hand_info(_cards)
129129
if type(a_power) == "table" then
130130
-- Entropy uses big-number tables. Normalize to a Lua number.
131131
if a_power.to_number then
132-
a_power = a_power:to_number()
132+
a_power = a_power:to_number()
133133
elseif a_power.val then
134-
a_power = tonumber(a_power.val) or 0
134+
a_power = tonumber(a_power.val) or 0
135135
else
136-
-- Unknown format: fail safe instead of crashing
137-
a_power = 0
136+
-- Unknown format: fail safe instead of crashing
137+
a_power = 0
138138
end
139139
end
140140

0 commit comments

Comments
 (0)