Skip to content

Commit de5ac17

Browse files
committed
fix when continuing run in some cicumstances
1 parent 6d2fc8b commit de5ac17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/misc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ 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.cry_multiuse then
1153+
if G.GAME.CODE_DESTROY_CARD and G.GAME.CODE_DESTROY_CARD.ability and G.GAME.CODE_DESTROY_CARD.ability.cry_multiuse then
11541154
G.GAME.CODE_DESTROY_CARD.ability.cry_multiuse = G.GAME.CODE_DESTROY_CARD.ability.cry_multiuse - 1
11551155
G.GAME.CODE_DESTROY_CARD = nil
11561156
end

0 commit comments

Comments
 (0)