Skip to content

Commit 2352430

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent de5ac17 commit 2352430

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/misc.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,11 @@ G.FUNCS.exit_overlay_menu_code = function(e)
11501150
G.GAME.POINTER_SUBMENU = nil
11511151
G.GAME.POINTER_PLAYING = nil
11521152
G.GAME.POINTER_COLLECTION = nil
1153-
if G.GAME.CODE_DESTROY_CARD and G.GAME.CODE_DESTROY_CARD.ability and G.GAME.CODE_DESTROY_CARD.ability.cry_multiuse then
1153+
if
1154+
G.GAME.CODE_DESTROY_CARD
1155+
and G.GAME.CODE_DESTROY_CARD.ability
1156+
and G.GAME.CODE_DESTROY_CARD.ability.cry_multiuse
1157+
then
11541158
G.GAME.CODE_DESTROY_CARD.ability.cry_multiuse = G.GAME.CODE_DESTROY_CARD.ability.cry_multiuse - 1
11551159
G.GAME.CODE_DESTROY_CARD = nil
11561160
end

0 commit comments

Comments
 (0)