mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 15:08:45 +08:00
checking consistency if wpm above 100
This commit is contained in:
parent
1f1734ae5d
commit
25f6a938a4
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue