Skip to content

Commit 682b396

Browse files
committed
Update MusicBeatState.hx
1 parent fdc7d06 commit 682b396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/backend/MusicBeatState.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class MusicBeatState extends FlxState
3535
ease: FlxEase.quadOut,
3636
onComplete: function(tween:FlxTween)
3737
{
38-
if (this is PlayState)
38+
if (FlxG.state is PlayState)
3939
{
4040
FlxTween.tween(PlayState.instance.camHUD, {angle: -180}, 0.5, {
4141
ease: FlxEase.quadOut,
@@ -50,7 +50,7 @@ class MusicBeatState extends FlxState
5050
}
5151
});
5252
}
53-
return flip;
53+
return _apFlip;
5454
}
5555

5656
private var curDecStep:Float = 0;

0 commit comments

Comments
 (0)