Skip to content

Commit

Permalink
Merge remote-tracking branch 'public/bugfix/easter-egg-crash' into bu…
Browse files Browse the repository at this point in the history
…gfix/public-fixes
  • Loading branch information
EliteMasterEric committed May 9, 2024
2 parents 0b82a20 + cfeca56 commit 3207fd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/funkin/play/GameOverSubState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 3207fd8

Please sign in to comment.