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:
parent
a9d0a9fb2d
commit
0fde96b43b
@ -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();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user