1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-29 16:26:48 +00:00

fixed exit bugs

This commit is contained in:
Cameron Taylor 2023-03-16 22:02:56 -04:00
parent 0d9c19d630
commit 0905b2c4b1

View file

@ -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});