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