fix: result submit error if a test was repeated before submitting

This commit is contained in:
Miodec 2025-02-08 00:59:45 +01:00
parent 935602a859
commit 3af1f66dfb

View file

@ -1007,6 +1007,7 @@ export async function finish(difficultyFailed = false): Promise<void> {
if (tt < 0) tt = 0;
const acc = completedEvent.acc;
TestStats.incrementIncompleteSeconds(tt);
TestStats.incrementRestartCount();
TestStats.pushIncompleteTest(acc, tt);
}