Added check for NaN on SS PP

This commit is contained in:
Liam 2022-10-21 16:27:10 +01:00
parent 4de24a34d0
commit 2d0a7cc937

View File

@ -77,6 +77,7 @@ export default class ScoreSaberCurve {
ScoreSaberCurve.ppCurve
);
return modifier * ppValue;
const finalPP = modifier * ppValue;
return Number.isNaN(finalPP) ? undefined : finalPP;
}
}