From 7fada0548b097a12b3ef4329eafa783f3c194586 Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 11 Jul 2020 00:09:02 -0700 Subject: [PATCH] Set ed.settingskey to true when returning to editor This fixes a bug where the settings menu would immediately be brought up if you used Esc to exit playtesting, unless you were an incredible ninja and only pressed it for exactly one frame. --- desktop_version/src/Game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index b2ac4dd9..ea200a54 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -7307,6 +7307,7 @@ void Game::returntoeditor() graphics.fademode = 0; ed.keydelay = 6; + ed.settingskey = true; graphics.backgrounddrawn=false; music.fadeout();