made sure the stats will be calculated when expert of master fails the test

This commit is contained in:
Jack 2020-05-28 18:51:52 +01:00
parent 8b0a9be978
commit 0a2de080b7

View file

@ -431,7 +431,7 @@ function countChars() {
}
function calculateStats() {
if (config.mode == "words") {
if (config.mode == "words" && config.difficulty == "normal") {
if (inputHistory.length != wordsList.length) return;
}
let chars = countChars();