fix mod keys not included in afk calculation. closes #1689

This commit is contained in:
Miodec 2021-08-01 13:36:12 +01:00
parent 0d778e91d3
commit 2d61f7b3ad

View file

@ -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);