1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 05:58:30 +02: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:
Misa 2020-06-22 17:29:30 -07:00 committed by Ethan Lee
parent aa40eb6327
commit a476121432

View File

@ -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)