From d7929cc36a751b98f7627fb7c93592256622c36c Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 26 Oct 2024 01:05:51 +0100 Subject: [PATCH] fix player daily score set --- projects/backend/src/service/score.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/backend/src/service/score.service.ts b/projects/backend/src/service/score.service.ts index e117fa5..5377496 100644 --- a/projects/backend/src/service/score.service.ts +++ b/projects/backend/src/service/score.service.ts @@ -154,6 +154,7 @@ export class ScoreService { history.scores = scores; player.setStatisticHistory(today, history); + player.markModified("statisticHistory"); await player.save(); }