mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 22:23:32 +08:00
only checking keypress stats if mode is time
This commit is contained in:
parent
b109c9ec38
commit
0ca2384695
1 changed files with 5 additions and 1 deletions
|
@ -434,7 +434,11 @@ exports.testCompleted = functions.https.onCall((request, response) => {
|
|||
|
||||
//check keyspacing and duration here
|
||||
if (!verified) {
|
||||
if (keySpacing !== null && keyDuration !== null) {
|
||||
if (
|
||||
keySpacing !== null &&
|
||||
keyDuration !== null &&
|
||||
obj.mode === "time"
|
||||
) {
|
||||
if (
|
||||
keySpacing.sd < 15 ||
|
||||
keyDuration.sd < 15 ||
|
||||
|
|
Loading…
Reference in a new issue