mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 03:20:46 +08:00
fix: previous commit nuking the timer
This commit is contained in:
parent
0e5dd85db2
commit
c222098a05
1 changed files with 2 additions and 0 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue