Skip to content

Commit 6d2fc8b

Browse files
committed
fix weird bug with cancelling
1 parent 2879c5c commit 6d2fc8b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/overrides.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,9 @@ function Game:update(dt)
407407
v.children.back:set_sprite_pos(G.P_CENTERS.b_cry_glowing.pos or G.P_CENTERS["b_red"].pos)
408408
end
409409
end
410+
if not G.OVERLAY_MENU and G.GAME.CODE_DESTROY_CARD then
411+
G.FUNCS.exit_overlay_menu_code()
412+
end
410413
--Increase the blind size for The Clock and Lavender Loop
411414
local choices = { "Small", "Big", "Boss" }
412415
G.GAME.CRY_BLINDS = G.GAME.CRY_BLINDS or {}

0 commit comments

Comments
 (0)