fixed failed tests having extra afk time

This commit is contained in:
Jack 2021-06-23 19:20:11 +01:00
parent 33ccb2e6ef
commit ec8bed0a6d

View file

@ -1935,7 +1935,7 @@ export function finish(difficultyFailed = false) {
export function fail() {
input.pushHistory();
corrected.pushHistory();
// TestStats.pushKeypressesToHistory();
TestStats.pushKeypressesToHistory();
finish(true);
let testSeconds = TestStats.calculateTestSeconds(performance.now());
let afkseconds = TestStats.calculateAfkSeconds(testSeconds);