diff --git a/src/js/game/hud/parts/puzzle_complete_notification.js b/src/js/game/hud/parts/puzzle_complete_notification.js index 9e093c19..34d600bb 100644 --- a/src/js/game/hud/parts/puzzle_complete_notification.js +++ b/src/js/game/hud/parts/puzzle_complete_notification.js @@ -93,9 +93,10 @@ export class HUDPuzzleCompleteNotification extends BaseHUDPart { .then(() => { if (toMenu) { this.root.gameState.moveToState("PuzzleMenuState"); + } else { + this.visible = false; + this.cleanup(); } - this.visible = false; - this.cleanup(); }); }