From 26e34c32f16986bc47d2459b95b98540a43e5ddd Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 11 Oct 2024 01:06:02 +0100 Subject: [PATCH] fix missing acc tracking --- projects/backend/src/service/player.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/backend/src/service/player.service.ts b/projects/backend/src/service/player.service.ts index c1cb7bb..fccd847 100644 --- a/projects/backend/src/service/player.service.ts +++ b/projects/backend/src/service/player.service.ts @@ -93,6 +93,9 @@ export class PlayerService { history.pp = player.pp; history.countryRank = player.countryRank; history.rank = player.rank; + history.accuracy = { + averageRankedAccuracy: player.scoreStats.averageRankedAccuracy, + }; foundPlayer.setStatisticHistory(dateToday, history); foundPlayer.sortStatisticHistory(); foundPlayer.lastTracked = new Date();