mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-12-23 16:32:49 +00:00
fix this broke again
This commit is contained in:
parent
5ecd62c0f2
commit
8f9934d300
1 changed files with 3 additions and 0 deletions
|
|
@ -377,10 +377,13 @@ class MarbleGame {
|
||||||
_exitingToMenu = false;
|
_exitingToMenu = false;
|
||||||
if (!isNotCustom) {
|
if (!isNotCustom) {
|
||||||
MarbleGame.instance.setPreviewMission('urban', () -> {});
|
MarbleGame.instance.setPreviewMission('urban', () -> {});
|
||||||
|
} else {
|
||||||
|
MarbleGame.instance.setPreviewMission(lastMis, () -> {});
|
||||||
}
|
}
|
||||||
canvas.setContent(new MainMenuGui());
|
canvas.setContent(new MainMenuGui());
|
||||||
} else {
|
} else {
|
||||||
if (isNotCustom) {
|
if (isNotCustom) {
|
||||||
|
MarbleGame.instance.setPreviewMission(lastMis, () -> {});
|
||||||
var pmg = new LevelSelectGui(LevelSelectGui.currentDifficultyStatic);
|
var pmg = new LevelSelectGui(LevelSelectGui.currentDifficultyStatic);
|
||||||
canvas.setContent(pmg);
|
canvas.setContent(pmg);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue