fix previous score miss counts
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m32s
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m32s
This commit is contained in:
parent
20376070c3
commit
781a3e8cdc
@ -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;
|
||||
|
Reference in New Issue
Block a user