add default values for rankedScores and unrankedScores stat
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 1m12s
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 1m12s
This commit is contained in:
parent
6d0c6aa47f
commit
a9338393f5
@ -151,6 +151,8 @@ export class PlayerService {
|
||||
averageRankedAccuracy: scoreStats.averageRankedAccuracy,
|
||||
};
|
||||
history.scores = {
|
||||
rankedScores: 0,
|
||||
unrankedScores: 0,
|
||||
...history.scores,
|
||||
totalScores: scoreStats.totalPlayCount,
|
||||
totalRankedScores: scoreStats.rankedPlayCount,
|
||||
|
Reference in New Issue
Block a user