From 6494fc3f17b66558875fd0117a2e85d60620ba80 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 21 Mar 2023 15:56:31 +0000 Subject: [PATCH] im silly --- src/curve/BeatLeaderCurve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {