fixed freeplay score offset shit

This commit is contained in:
Cameron Taylor 2020-11-09 15:26:10 -08:00
parent e4b9be1f2a
commit aae3bf37e1

View file

@ -119,6 +119,10 @@ class FreeplayState extends MusicBeatState
super.update(elapsed);
lerpScore = Math.floor(FlxMath.lerp(lerpScore, intendedScore, 0.4));
if (Math.abs(lerpScore - intendedScore) <= 10)
lerpScore = intendedScore;
scoreText.text = "PERSONAL BEST:" + lerpScore;
var upP = controls.UP_P;