1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

improved menu return

This commit is contained in:
Sense101 2021-05-11 15:48:37 +01:00
parent a9d0a9fb2d
commit 0fde96b43b

View File

@ -93,9 +93,10 @@ export class HUDPuzzleCompleteNotification extends BaseHUDPart {
.then(() => { .then(() => {
if (toMenu) { if (toMenu) {
this.root.gameState.moveToState("PuzzleMenuState"); this.root.gameState.moveToState("PuzzleMenuState");
} else {
this.visible = false;
this.cleanup();
} }
this.visible = false;
this.cleanup();
}); });
} }