mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 10:05:41 -05:00
fixed exit bugs
This commit is contained in:
parent
0d9c19d630
commit
0905b2c4b1
1 changed files with 4 additions and 0 deletions
|
@ -753,6 +753,10 @@ class FreeplayState extends MusicBeatSubstate
|
||||||
|
|
||||||
if (controls.BACK && !typing.hasFocus)
|
if (controls.BACK && !typing.hasFocus)
|
||||||
{
|
{
|
||||||
|
FlxTween.globalManager.clear();
|
||||||
|
FlxTimer.globalManager.clear();
|
||||||
|
dj.onIntroDone.removeAll();
|
||||||
|
|
||||||
FlxG.sound.play(Paths.sound('cancelMenu'));
|
FlxG.sound.play(Paths.sound('cancelMenu'));
|
||||||
|
|
||||||
// FlxTween.tween(dj, {x: -dj.width}, 0.2, {ease: FlxEase.quartOut});
|
// FlxTween.tween(dj, {x: -dj.width}, 0.2, {ease: FlxEase.quartOut});
|
||||||
|
|
Loading…
Reference in a new issue