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.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-07-15 11:45:28 -04:00
1 parent 6c52b79ddf
commit 7fada0548b
1 file changed
+1
+1
View File
@@ -7307,6 +7307,7 @@ void Game::returntoeditor()
graphics.fademode = 0;
ed.keydelay = 6;
ed.settingskey = true;
graphics.backgrounddrawn=false;
music.fadeout();