mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 23:42:21 +03: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:
@@ -1958,13 +1958,20 @@ void mapinput()
|
|||||||
{
|
{
|
||||||
game.press_action = true;
|
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(KEYBOARD_ENTER) || key.isDown(game.controllerButton_map) ) game.press_map = true;
|
||||||
if (key.isDown(27))
|
if (key.isDown(27))
|
||||||
{
|
{
|
||||||
game.mapheld = true;
|
game.mapheld = true;
|
||||||
game.menupage = 30;
|
if (game.menupage < 9)
|
||||||
|
{
|
||||||
|
game.menupage = 30;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
game.menupage = 31;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user