Fix an error related to an easter egg, plus some warnings.

This commit is contained in:
EliteMasterEric 2024-05-07 14:01:00 -04:00
parent ca8c62c9bf
commit a652bfe9f0
2 changed files with 4 additions and 2 deletions

2
assets

@ -1 +1 @@
Subproject commit fe52d20de7025d90cadb429dbdedf6d986727088 Subproject commit ff24bb59b5382677277ae427a164ea4764409f5c

View file

@ -83,6 +83,8 @@ class GameOverSubState extends MusicBeatSubState
var isChartingMode:Bool = false; var isChartingMode:Bool = false;
var mustNotExit:Bool = false;
var transparent:Bool; var transparent:Bool;
static final CAMERA_ZOOM_DURATION:Float = 0.5; static final CAMERA_ZOOM_DURATION:Float = 0.5;
@ -240,7 +242,7 @@ class GameOverSubState extends MusicBeatSubState
} }
// KEYBOARD ONLY: Return to the menu when pressing the assigned key. // KEYBOARD ONLY: Return to the menu when pressing the assigned key.
if (controls.BACK) if (controls.BACK && !mustNotExit)
{ {
blueballed = false; blueballed = false;
PlayState.instance.deathCounter = 0; PlayState.instance.deathCounter = 0;