Merge pull request #549 from FunkinCrew/sanitized/bugfix/easter-egg

Fix an error related to an easter egg, plus some script warnings.
This commit is contained in:
Cameron Taylor 2024-05-08 23:30:50 -04:00 committed by GitHub
commit 77446f28d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -83,6 +83,8 @@ class GameOverSubState extends MusicBeatSubState
var isChartingMode:Bool = false;
var mustNotExit:Bool = false;
var transparent:Bool;
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.
if (controls.BACK)
if (controls.BACK && !mustNotExit)
{
blueballed = false;
PlayState.instance.deathCounter = 0;