Skip to content

Commit

Permalink
fix(data): Use correct round for total machine paced answers
Browse files Browse the repository at this point in the history
  • Loading branch information
CaedenPH committed Apr 1, 2024
1 parent 2007a71 commit 6444005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ export class CogSpeedGame {
(answer) => answer.roundType === 2,
)[0];

const totalMachinePacedAnswers = filterByRoundType(this.previousAnswers, 3);
const totalMachinePacedAnswers = filterByRoundType(this.previousAnswers, 2);
const correctMachinePacedAnswers = filterByStatus(totalMachinePacedAnswers, "correct");

const quickestResponse = Math.min(...mapToTimeTaken(totalMachinePacedAnswers));
Expand Down

0 comments on commit 6444005

Please sign in to comment.