From 781a3e8cdc52a5ffc3c130b24f6794574e7fe4df Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 23 Oct 2024 23:18:37 +0100 Subject: [PATCH] fix previous score miss counts --- .../website/src/components/score/badges/score-misses.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/website/src/components/score/badges/score-misses.tsx b/projects/website/src/components/score/badges/score-misses.tsx index 98b7b2e..c561efa 100644 --- a/projects/website/src/components/score/badges/score-misses.tsx +++ b/projects/website/src/components/score/badges/score-misses.tsx @@ -21,9 +21,9 @@ export default function ScoreMissesBadge({ score, hideXMark }: ScoreMissesBadgeP additionalData && scoreImprovement && { misses: (scoreImprovement.misses.misses - misses.misses) * -1, - missedNotes: (scoreImprovement.misses.missedNotes + misses.missedNotes) * -1, - badCuts: (scoreImprovement.misses.badCuts + misses.badCuts) * -1, - bombCuts: (scoreImprovement.misses.bombCuts + misses.bombCuts) * -1, + missedNotes: (scoreImprovement.misses.missedNotes - misses.missedNotes) * -1, + badCuts: (scoreImprovement.misses.badCuts - misses.badCuts) * -1, + bombCuts: (scoreImprovement.misses.bombCuts - misses.bombCuts) * -1, wallsHit: (scoreImprovement.misses.wallsHit - misses.wallsHit) * -1, }; const previousScoreFc = previousScoreMisses?.misses == 0;