Skip to content

Commit 3af1f66

Browse files
committed
fix: result submit error if a test was repeated before submitting
1 parent 935602a commit 3af1f66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/ts/test/test-logic.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,7 @@ export async function finish(difficultyFailed = false): Promise<void> {
10071007
if (tt < 0) tt = 0;
10081008
const acc = completedEvent.acc;
10091009
TestStats.incrementIncompleteSeconds(tt);
1010+
TestStats.incrementRestartCount();
10101011
TestStats.pushIncompleteTest(acc, tt);
10111012
}
10121013

0 commit comments

Comments
 (0)