From 656680b49c9c0b8b219894df73a46391098f05ca Mon Sep 17 00:00:00 2001 From: Misa Date: Thu, 7 May 2020 15:40:17 -0700 Subject: [PATCH] Fix returning to editor when game is faded-out This would cause the editor to think that it itself is in the middle of fading to the menu, and so then will fade to the menu, thus losing any unsaved work without warning. --- desktop_version/src/Input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index 9ea8d3ae..6ada6286 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -1545,6 +1545,7 @@ void gameinput() game.completestop = false; game.state = 0; graphics.showcutscenebars = false; + graphics.fademode = 0; graphics.backgrounddrawn=false; music.fadeout();