From 6a1b18581f0922c6f5b7909dad3586cad6dd80c4 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 22 Oct 2024 18:54:21 +0100 Subject: [PATCH] add score --- projects/common/src/player/impl/scoresaber-player.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/common/src/player/impl/scoresaber-player.ts b/projects/common/src/player/impl/scoresaber-player.ts index 01d0435..137cb21 100644 --- a/projects/common/src/player/impl/scoresaber-player.ts +++ b/projects/common/src/player/impl/scoresaber-player.ts @@ -247,6 +247,10 @@ export async function getScoreSaberPlayerFromToken( accuracy: { averageRankedAccuracy: getStatisticChange("accuracy.averageRankedAccuracy", false, daysAgo), }, + score: { + totalScore: getStatisticChange("score.totalScore", false, daysAgo), + totalRankedScore: getStatisticChange("score.totalRankedScore", false, daysAgo), + }, scores: { totalScores: getStatisticChange("scores.totalScores", false, daysAgo), totalRankedScores: getStatisticChange("scores.totalRankedScores", false, daysAgo),