From fa03bdfdd6ec54dd41035e416ddce62667b969ef Mon Sep 17 00:00:00 2001 From: DarkIntaqt <61588850+DarkIntaqt@users.noreply.github.com> Date: Thu, 11 Jan 2024 20:05:55 +0100 Subject: [PATCH] fixed including 2024 from total points --- src/module/user/statsCalculateTotalPoints.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/user/statsCalculateTotalPoints.js b/src/module/user/statsCalculateTotalPoints.js index f10e69d..c6405ca 100644 --- a/src/module/user/statsCalculateTotalPoints.js +++ b/src/module/user/statsCalculateTotalPoints.js @@ -14,7 +14,7 @@ export default function statsCalculateTotalPoints(challenges) { for (let i = 0; i < challenges.length; i++) { const challenge = challenges[i]; - if (challenge[0] > 10 && challenge[8] !== 600006 && challenge[8] !== 2022000 && challenge[8] !== 2023000 && challenge[8] !== 601000 && challenge[8] !== 2024000) { + if (challenge[0] > 10 && challenge[8] !== 600006 && challenge[8] !== 2022000 && challenge[8] !== 2023000 && challenge[8] !== 601000 && challenge[8] !== 2024100) { //console.log(challenge[8]); tiers[intToTier(challenge[1])] += 1