diff --git a/src/js/test/test-stats.js b/src/js/test/test-stats.js index 30df03106..8b4411909 100644 --- a/src/js/test/test-stats.js +++ b/src/js/test/test-stats.js @@ -389,7 +389,12 @@ function countChars() { } export function calculateStats() { - let testSeconds = Misc.roundTo2(TestStats.calculateTestSeconds()); + let testSeconds; + if (Config.mode == "custom") { + testSeconds = TestStats.calculateTestSeconds(); + } else { + testSeconds = Misc.roundTo2(TestStats.calculateTestSeconds()); + } let chars = countChars(); let wpm = Misc.roundTo2( ((chars.correctWordChars + chars.correctSpaces) * (60 / testSeconds)) / 5