Skip to content

Commit

Permalink
fixed including 2024 from total points
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIntaqt committed Jan 11, 2024
1 parent 2723bee commit fa03bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/user/statsCalculateTotalPoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fa03bdf

Please sign in to comment.