Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frontend/src/ts/test/test-logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,8 @@ export function fail(reason: string): void {
TestInput.pushErrorToHistory();
TestInput.pushAfkToHistory();
void finish(true);
if (!Config.resultSaving) return;
// When the test is repeated we already do the rest of the code in this function in finish.
if (!Config.resultSaving || TestState.isRepeated) return;
const testSeconds = TestStats.calculateTestSeconds(performance.now());
const afkseconds = TestStats.calculateAfkSeconds(testSeconds);
let tt = Numbers.roundTo2(testSeconds - afkseconds);
Expand Down
Loading