From b63347b70c03675a30574c013b20ccf54642fb12 Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 22 Jun 2020 21:01:52 -0700 Subject: [PATCH] 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. --- desktop_version/src/Input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index 4b995450..826d63a5 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -1936,7 +1936,7 @@ void mapinput() } } - if(graphics.menuoffset==0) + if(graphics.menuoffset==0 && game.fadetomenudelay <= 0 && game.fadetolabdelay <= 0) { if (graphics.flipmode) {