1
0
Fork 0
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:
Misa 2020-05-02 20:38:06 -07:00 committed by Ethan Lee
parent 85074c1402
commit f78603ef87
2 changed files with 2 additions and 0 deletions

View file

@ -2105,6 +2105,7 @@ void Game::updatestate()
if(!muted && ed.levmusic>0) music.fadeMusicVolumeIn(3000);
}
graphics.showcutscenebars = false;
returntomenu(Menu::levellist);
break;
#endif
case 1014:

View file

@ -109,6 +109,7 @@ void gamecompletelogic2()
game.gamestate = TITLEMODE;
graphics.fademode = 4;
music.playef(18);
game.returntomenu(Menu::play);
game.createmenu(Menu::gamecompletecontinue);
map.nexttowercolour();
}