fix missing acc tracking
All checks were successful
Deploy Backend / deploy (push) Successful in 2m11s

This commit is contained in:
Lee 2024-10-11 01:06:02 +01:00
parent e89ff73b76
commit 26e34c32f1

@ -93,6 +93,9 @@ export class PlayerService {
history.pp = player.pp; history.pp = player.pp;
history.countryRank = player.countryRank; history.countryRank = player.countryRank;
history.rank = player.rank; history.rank = player.rank;
history.accuracy = {
averageRankedAccuracy: player.scoreStats.averageRankedAccuracy,
};
foundPlayer.setStatisticHistory(dateToday, history); foundPlayer.setStatisticHistory(dateToday, history);
foundPlayer.sortStatisticHistory(); foundPlayer.sortStatisticHistory();
foundPlayer.lastTracked = new Date(); foundPlayer.lastTracked = new Date();