1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-25 22:47:52 +00:00

Merge remote-tracking branch 'public/bugfix/freeplay-lerp' into bugfix/public-fixes

This commit is contained in:
EliteMasterEric 2024-05-09 16:40:18 -04:00
commit c2650c0810

View file

@ -733,8 +733,8 @@ class FreeplayState extends MusicBeatSubState
}
}
lerpScore = MathUtil.coolLerp(lerpScore, intendedScore, 0.2);
lerpCompletion = MathUtil.coolLerp(lerpCompletion, intendedCompletion, 0.9);
lerpScore = MathUtil.smoothLerp(lerpScore, intendedScore, elapsed, 0.5);
lerpCompletion = MathUtil.smoothLerp(lerpCompletion, intendedCompletion, elapsed, 0.5);
if (Math.isNaN(lerpScore))
{