Fix return to editor via crewmate rescue not using shouldreturntoeditor

The shouldreturntoeditor variable is supposed to be used because it
fixes the warp background not being reset if you exit into a
horizontally/vertically warping room with a different background. It
also properly resets other variables, which is good, too.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-07-15 11:45:28 -04:00
1 parent 2506127a17
commit 1caabe374b
1 file changed
+1 -2
+1 -2
View File
@@ -1878,8 +1878,7 @@ void Game::updatestate()
}
else
{
gamestate = EDITORMODE;
graphics.backgrounddrawn=false;
shouldreturntoeditor = true;
if(!muted && ed.levmusic>0) music.fadeMusicVolumeIn(3000);
if(ed.levmusic>0) music.fadeout();
}