Skip to content

Commit 31a44a1

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 2161753 commit 31a44a1

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

items/code.lua

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3068,14 +3068,30 @@ local declare = {
30683068
local localize_ref = localize
30693069
function localize(first, second, ...)
30703070
if second == "poker_hands" then
3071-
if G then if G.GAME then if G.GAME.hands then if G.GAME.hands[first] then if G.GAME.hands[first].declare_name then
3072-
return G.GAME.hands[first].declare_name
3073-
end end end end end
3071+
if G then
3072+
if G.GAME then
3073+
if G.GAME.hands then
3074+
if G.GAME.hands[first] then
3075+
if G.GAME.hands[first].declare_name then
3076+
return G.GAME.hands[first].declare_name
3077+
end
3078+
end
3079+
end
3080+
end
3081+
end
30743082
end
30753083
if second == "poker_hand_descriptions" then
3076-
if G then if G.GAME then if G.GAME.hands then if G.GAME.hands[first] then if G.GAME.hands[first].suitless then
3077-
return localize_ref(first .. "_suitless", second, ...)
3078-
end end end end end
3084+
if G then
3085+
if G.GAME then
3086+
if G.GAME.hands then
3087+
if G.GAME.hands[first] then
3088+
if G.GAME.hands[first].suitless then
3089+
return localize_ref(first .. "_suitless", second, ...)
3090+
end
3091+
end
3092+
end
3093+
end
3094+
end
30793095
end
30803096
return localize_ref(first, second, ...)
30813097
end

0 commit comments

Comments
 (0)