Restore janky gamestate-based quit-to-title system in glitchrunnermode

This was fixed in 2.3 because one of the side effects of this janky
system was being able to accidentally immediately quit to the title if
the screen was black during a cutscene, which is something very likely
to happen to casual players.

Anyway, credits warp uses this gamestate-based system because it
utilizes quitting to the title screen doing gamestate 80. From there,
you increment the gamestate to gamestate 94 to use the Space Station 2
expo script.
This commit is contained in:
Misa
2020-06-25 14:41:44 -07:00
committed by Ethan Lee
parent 9bab6bd0cb
commit cb8540d7bd
2 changed files with 48 additions and 6 deletions

View File

@@ -2356,7 +2356,10 @@ void maprender()
if (graphics.fademode == 3 || graphics.fademode == 5)
// We need to draw the black screen above the menu in order to disguise it
// being jankily brought down in glitchrunner mode when exiting to the title
// Otherwise, there's no reason to obscure the menu
if (game.glitchrunnermode || graphics.fademode == 3 || graphics.fademode == 5)
{
graphics.drawfade();
}