diff --git a/src/curve/ScoreSaberCurve.js b/src/curve/ScoreSaberCurve.js index 0c91d9d..cd4680d 100644 --- a/src/curve/ScoreSaberCurve.js +++ b/src/curve/ScoreSaberCurve.js @@ -77,6 +77,7 @@ export default class ScoreSaberCurve { ScoreSaberCurve.ppCurve ); - return modifier * ppValue; + const finalPP = modifier * ppValue; + return Number.isNaN(finalPP) ? undefined : finalPP; } }