mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-23 00:37:29 +08:00
fix mod keys not included in afk calculation. closes #1689
This commit is contained in:
parent
0d778e91d3
commit
2d61f7b3ad
|
@ -1400,7 +1400,7 @@ export function finish(difficultyFailed = false) {
|
|||
Math.max(TestStats.keypressPerSecond.length - 5, 0)
|
||||
);
|
||||
|
||||
kps = kps.map((a) => a.count);
|
||||
kps = kps.map((a) => a.count + a.mod);
|
||||
|
||||
kps = kps.reduce((a, b) => a + b, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue