mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Make pressing Esc in ingame_titlemode go back to pause menu
You shouldn't be able to bring up the youwannaquit menu while you're in-game, that should only be when you're actually not in game.
This commit is contained in:
@@ -1468,8 +1468,15 @@ void titleinput()
|
||||
if (key.isDown(27) && game.currentmenuname != Menu::youwannaquit && game.menustart)
|
||||
{
|
||||
music.playef(11);
|
||||
game.createmenu(Menu::youwannaquit);
|
||||
map.nexttowercolour();
|
||||
if (game.ingame_titlemode)
|
||||
{
|
||||
game.returntopausemenu();
|
||||
}
|
||||
else
|
||||
{
|
||||
game.createmenu(Menu::youwannaquit);
|
||||
map.nexttowercolour();
|
||||
}
|
||||
}
|
||||
|
||||
if(game.menustart)
|
||||
|
||||
Reference in New Issue
Block a user