diff --git a/projects/common/src/token-creators.ts b/projects/common/src/token-creators.ts index 88be4b6..10b381d 100644 --- a/projects/common/src/token-creators.ts +++ b/projects/common/src/token-creators.ts @@ -97,7 +97,7 @@ export function getScoreSaberScoreFromToken( difficulty: leaderboard.difficulty.difficulty, characteristic: leaderboard.difficulty.characteristic, score: token.baseScore, - accuracy: (token.baseScore / leaderboard.maxScore) * 100, + accuracy: leaderboard.maxScore ? (token.baseScore / leaderboard.maxScore) * 100 : Infinity, rank: token.rank, modifiers: modifiers, misses: token.missedNotes + token.badCuts,