mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39:43 +01:00
Fix pressing ESC in some menus not playing music
This fixes a bug where pressing Escape in the following menus would not play Presenting VVVVVV (the title screen music) and would instead leave you with silence: Game Complete, Time Trial complete, Game Over, and No Death Mode complete.
This commit is contained in:
parent
67df8a9679
commit
5e28567009
1 changed files with 7 additions and 0 deletions
|
@ -6199,6 +6199,13 @@ void Game::returnmenu(void)
|
|||
{
|
||||
music.fadeout();
|
||||
}
|
||||
else if (currentmenuname == Menu::gamecompletecontinue
|
||||
|| currentmenuname == Menu::timetrialcomplete3
|
||||
|| currentmenuname == Menu::gameover2
|
||||
|| currentmenuname == Menu::nodeathmodecomplete2)
|
||||
{
|
||||
music.play(Music_PRESENTINGVVVVVV);
|
||||
}
|
||||
|
||||
MenuStackFrame& frame = menustack[menustack.size()-1];
|
||||
|
||||
|
|
Loading…
Reference in a new issue