mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-04-01 07:16:54 +00:00
fixed freeplay score offset shit
This commit is contained in:
parent
f492ced077
commit
26c2b55af0
File diff suppressed because one or more lines are too long
|
@ -119,6 +119,10 @@ class FreeplayState extends MusicBeatState
|
||||||
super.update(elapsed);
|
super.update(elapsed);
|
||||||
|
|
||||||
lerpScore = Math.floor(FlxMath.lerp(lerpScore, intendedScore, 0.4));
|
lerpScore = Math.floor(FlxMath.lerp(lerpScore, intendedScore, 0.4));
|
||||||
|
|
||||||
|
if (Math.abs(lerpScore - intendedScore) <= 10)
|
||||||
|
lerpScore = intendedScore;
|
||||||
|
|
||||||
scoreText.text = "PERSONAL BEST:" + lerpScore;
|
scoreText.text = "PERSONAL BEST:" + lerpScore;
|
||||||
|
|
||||||
var upP = controls.UP_P;
|
var upP = controls.UP_P;
|
||||||
|
|
Loading…
Reference in a new issue