1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2025-01-10 19:09:45 +01:00

Allow pressing Esc to go back to pause menu from quit prompt

Allowing for more actions makes things feel smoother.
This commit is contained in:
Misa 2020-06-22 21:20:05 -07:00 committed by Ethan Lee
parent b63347b70c
commit f6d73c62ec

View file

@ -1958,13 +1958,20 @@ void mapinput()
{
game.press_action = true;
}
if (game.menupage < 9)
if (game.menupage < 12)
{
if (key.isDown(KEYBOARD_ENTER) || key.isDown(game.controllerButton_map) ) game.press_map = true;
if (key.isDown(27))
{
game.mapheld = true;
game.menupage = 30;
if (game.menupage < 9)
{
game.menupage = 30;
}
else
{
game.menupage = 31;
}
}
}
else