From 1cbecdda86f3afd6f08090428fe6370e354750f1 Mon Sep 17 00:00:00 2001 From: Misa Date: Thu, 25 Jun 2020 16:22:58 -0700 Subject: [PATCH] Use returntomenu(timetrials) instead of returnmenu in timetrialcomplete3 This fixes a corner case where using gamestate 82 from the editor would put you in a softlock because it would return to the editor settings menu, which only functions in EDITORMODE and results in a softlock in TITLEMODE. --- 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 5c3070a3..2cdb3845 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -1372,7 +1372,7 @@ void menuactionpress() //back music.playef(11); music.play(6); - game.returnmenu(); + game.returntomenu(Menu::timetrials); map.nexttowercolour(); break; case 1: