im silly
This commit is contained in:
parent
4c66a1a0a4
commit
6494fc3f17
@ -24,7 +24,7 @@ export function getBeatLeaderPP(acc, stars) {
|
|||||||
if (stars === undefined || acc === undefined) {
|
if (stars === undefined || acc === undefined) {
|
||||||
return 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;
|
const isNegativeAcc = acc < 0;
|
||||||
if (isNegativeAcc) {
|
if (isNegativeAcc) {
|
||||||
|
Reference in New Issue
Block a user