1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Prevent menu input if fading out

Otherwise you could keep re-pressing ACTION on the "yes" option and keep
stalling it until it finally faded out, or quickly go back past menu
options or something.
This commit is contained in:
Misa 2020-06-22 21:01:52 -07:00 committed by Ethan Lee
parent 3c5ed04678
commit b63347b70c

View file

@ -1936,7 +1936,7 @@ void mapinput()
} }
} }
if(graphics.menuoffset==0) if(graphics.menuoffset==0 && game.fadetomenudelay <= 0 && game.fadetolabdelay <= 0)
{ {
if (graphics.flipmode) if (graphics.flipmode)
{ {