mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-05 06:14:36 +00:00
Fix an error related to an easter egg, plus some warnings.
This commit is contained in:
parent
a6948c3a38
commit
cfeca56634
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue