mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Allow using Esc in Super Gravitron quit menu
This is a small quality-of-life fix in the same vein as allowing the player to press Esc in the teleporter menu (which they weren't able to do in 2.2, either).
This commit is contained in:
@@ -2215,13 +2215,16 @@ void mapinput(void)
|
||||
{
|
||||
game.press_action = true;
|
||||
}
|
||||
if (game.menupage < 12 || (game.menupage >= 30 && game.menupage <= 32))
|
||||
if (game.menupage < 12
|
||||
|| (game.menupage >= 20 && game.menupage <= 21)
|
||||
|| (game.menupage >= 30 && game.menupage <= 32))
|
||||
{
|
||||
if (key.isDown(KEYBOARD_ENTER) || key.isDown(game.controllerButton_map) ) game.press_map = true;
|
||||
if (key.isDown(27) && !game.mapheld)
|
||||
{
|
||||
game.mapheld = true;
|
||||
if (game.menupage < 9)
|
||||
if (game.menupage < 9
|
||||
|| (game.menupage >= 20 && game.menupage <= 21))
|
||||
{
|
||||
game.menupage = 30;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user