From 691ee21c72d542b3ecbe729c2ae72104d195eca8 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 23 Sep 2020 23:34:00 +0100 Subject: [PATCH] changing the correction amount --- public/js/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/script.js b/public/js/script.js index 01283454a..bae61d60e 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -4580,7 +4580,7 @@ $(document).keydown((event) => { //correct word if (paceCaret !== null && paceCaret.wordsStatus[currentWordIndex] === true) { paceCaret.wordsStatus[currentWordIndex] = undefined; - paceCaret.correction -= currentWord.length + 1; + paceCaret.correction -= currentWord.length; } accuracyStats.correct++; inputHistory.push(currentInput); @@ -4596,7 +4596,7 @@ $(document).keydown((event) => { //incorrect word if (paceCaret !== null && paceCaret.wordsStatus[currentWordIndex] === undefined) { paceCaret.wordsStatus[currentWordIndex] = true; - paceCaret.correction += currentWord.length + 1; + paceCaret.correction += currentWord.length; } if (!config.playSoundOnError || config.blindMode) { playClickSound();