mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -6199,6 +6199,13 @@ void Game::returnmenu(void)
|
|||||||
{
|
{
|
||||||
music.fadeout();
|
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];
|
MenuStackFrame& frame = menustack[menustack.size()-1];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user