mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Fix menu that you land on when you complete game or custom level
When you complete the game, you're now redirected to the play menu. This is because your quicksave will have been deleted so you can't go back to the summary menu. When you complete a custom level, you'll go back to the levels list, in case you started the level from a quicksave.
This commit is contained in:
parent
85074c1402
commit
f78603ef87
2 changed files with 2 additions and 0 deletions
|
@ -2105,6 +2105,7 @@ void Game::updatestate()
|
||||||
if(!muted && ed.levmusic>0) music.fadeMusicVolumeIn(3000);
|
if(!muted && ed.levmusic>0) music.fadeMusicVolumeIn(3000);
|
||||||
}
|
}
|
||||||
graphics.showcutscenebars = false;
|
graphics.showcutscenebars = false;
|
||||||
|
returntomenu(Menu::levellist);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
case 1014:
|
case 1014:
|
||||||
|
|
|
@ -109,6 +109,7 @@ void gamecompletelogic2()
|
||||||
game.gamestate = TITLEMODE;
|
game.gamestate = TITLEMODE;
|
||||||
graphics.fademode = 4;
|
graphics.fademode = 4;
|
||||||
music.playef(18);
|
music.playef(18);
|
||||||
|
game.returntomenu(Menu::play);
|
||||||
game.createmenu(Menu::gamecompletecontinue);
|
game.createmenu(Menu::gamecompletecontinue);
|
||||||
map.nexttowercolour();
|
map.nexttowercolour();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue