fix scores set today
This commit is contained in:
parent
6495db7588
commit
a33c1b81b7
@ -116,13 +116,16 @@ export async function getScoreSaberPlayerFromToken(
|
|||||||
pp: token.pp,
|
pp: token.pp,
|
||||||
replaysWatched: token.scoreStats.replaysWatched,
|
replaysWatched: token.scoreStats.replaysWatched,
|
||||||
accuracy: {
|
accuracy: {
|
||||||
|
...history[todayDate]?.accuracy,
|
||||||
averageRankedAccuracy: token.scoreStats.averageRankedAccuracy,
|
averageRankedAccuracy: token.scoreStats.averageRankedAccuracy,
|
||||||
},
|
},
|
||||||
scores: {
|
scores: {
|
||||||
|
...history[todayDate]?.scores,
|
||||||
totalScores: token.scoreStats.totalPlayCount,
|
totalScores: token.scoreStats.totalPlayCount,
|
||||||
totalRankedScores: token.scoreStats.rankedPlayCount,
|
totalRankedScores: token.scoreStats.rankedPlayCount,
|
||||||
},
|
},
|
||||||
score: {
|
score: {
|
||||||
|
...history[todayDate]?.score,
|
||||||
totalScore: token.scoreStats.totalScore,
|
totalScore: token.scoreStats.totalScore,
|
||||||
totalRankedScore: token.scoreStats.totalRankedScore,
|
totalRankedScore: token.scoreStats.totalRankedScore,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user