From 41126c209737c0567d4477790acdcfc72957a7b4 Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 22 May 2023 12:11:34 -0700 Subject: [PATCH] Fix bug: Unable to skip credits in certain cases If you had the map button held before the game transitioned to the credits and ending picture sequences, then you wouldn't be able to skip them, because those gamemodes don't have logic to detect when you've released the map button. To fix this, just implement the map button release logic. We do need a better input system soon... --- desktop_version/src/Input.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index 0bf4b045..49443fb6 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -3327,6 +3327,11 @@ void gamecompleteinput(void) } } } + + if (!game.press_map) + { + game.mapheld = false; + } } void gamecompleteinput2(void) @@ -3368,4 +3373,9 @@ void gamecompleteinput2(void) } } } + + if (!game.press_map) + { + game.mapheld = false; + } }