From 01e3856e80eacc025d775c6c271fa16dcd9cfb06 Mon Sep 17 00:00:00 2001 From: zkldi Date: Sun, 2 May 2021 20:51:38 +0100 Subject: [PATCH] Marking UGS as semi-stable --- server/src/score-import/framework/user-game-stats/classes.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/score-import/framework/user-game-stats/classes.ts b/server/src/score-import/framework/user-game-stats/classes.ts index 04a49c90a..b0f4bea0b 100644 --- a/server/src/score-import/framework/user-game-stats/classes.ts +++ b/server/src/score-import/framework/user-game-stats/classes.ts @@ -164,6 +164,8 @@ export function CalculateClassDeltas( if (!userGameStats) { // @todo REDISIPC-New Class Achieved deltas.push({ + game, + playtype, old: null, new: gameClass, }); @@ -186,6 +188,8 @@ export function CalculateClassDeltas( if (thisIndex > pastIndex) { // @todo REDISIPC-Class Improved! deltas.push({ + game, + playtype, old: userGameStats.classes[pastClass], new: gameClass, });