fix: previous commit nuking the timer

This commit is contained in:
Miodec 2025-12-17 20:49:03 +01:00
parent 0e5dd85db2
commit c222098a05

View file

@ -68,6 +68,7 @@ import { canQuickRestart } from "../utils/quick-restart";
import { animate } from "animejs";
import { setInputElementValue } from "../input/input-element";
import { debounce } from "throttle-debounce";
import * as Time from "../states/time";
let failReason = "";
@ -100,6 +101,7 @@ export function startTest(now: number): boolean {
Replay.startReplayRecording();
Replay.replayGetWordsList(TestWords.words.list);
TestInput.resetKeypressTimings();
Time.set(0);
TestTimer.clear();
for (const fb of getActiveFunboxesWithFunction("start")) {