From a33c1b81b728e4c778e85e4c444a75ff3f3e2996 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 22 Oct 2024 18:46:57 +0100 Subject: [PATCH] fix scores set today --- projects/common/src/player/impl/scoresaber-player.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/common/src/player/impl/scoresaber-player.ts b/projects/common/src/player/impl/scoresaber-player.ts index 8c6bdb7..01d0435 100644 --- a/projects/common/src/player/impl/scoresaber-player.ts +++ b/projects/common/src/player/impl/scoresaber-player.ts @@ -116,13 +116,16 @@ export async function getScoreSaberPlayerFromToken( pp: token.pp, replaysWatched: token.scoreStats.replaysWatched, accuracy: { + ...history[todayDate]?.accuracy, averageRankedAccuracy: token.scoreStats.averageRankedAccuracy, }, scores: { + ...history[todayDate]?.scores, totalScores: token.scoreStats.totalPlayCount, totalRankedScores: token.scoreStats.rankedPlayCount, }, score: { + ...history[todayDate]?.score, totalScore: token.scoreStats.totalScore, totalRankedScore: token.scoreStats.totalRankedScore, },