fix scores history being reset for that day
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 45s
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 45s
This commit is contained in:
parent
ad826d7a3f
commit
b7349f0226
@ -151,6 +151,7 @@ export class PlayerService {
|
|||||||
averageRankedAccuracy: scoreStats.averageRankedAccuracy,
|
averageRankedAccuracy: scoreStats.averageRankedAccuracy,
|
||||||
};
|
};
|
||||||
history.scores = {
|
history.scores = {
|
||||||
|
...history.scores,
|
||||||
totalScores: scoreStats.totalPlayCount,
|
totalScores: scoreStats.totalPlayCount,
|
||||||
totalRankedScores: scoreStats.rankedPlayCount,
|
totalRankedScores: scoreStats.rankedPlayCount,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user