checking consistency if wpm above 100

This commit is contained in:
Miodec 2021-03-08 04:28:33 +00:00
parent 1f1734ae5d
commit 25f6a938a4

View file

@ -870,11 +870,7 @@ function validateResult(result) {
if (result.chartData.wpm.filter((w) => w > 400).length > 0) return false;
}
if (
(result.funbox === undefined || result.funbox === "none") &&
result.consistency < 10
)
return false;
if (result.wpm > 100 && result.consistency < 10) return false;
return true;
}