diff --git a/src/curve/BeatLeaderCurve.js b/src/curve/BeatLeaderCurve.js index e12553e..1099784 100644 --- a/src/curve/BeatLeaderCurve.js +++ b/src/curve/BeatLeaderCurve.js @@ -24,7 +24,7 @@ export function getBeatLeaderPP(acc, stars) { if (stars === undefined || acc === undefined) { return undefined; } - const pp = curve(acc, stars - 0.5) * (stars + 0.5) * 42; + let pp = curve(acc, stars - 0.5) * (stars + 0.5) * 42; const isNegativeAcc = acc < 0; if (isNegativeAcc) {