mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-08 15:47:37 +08:00
fix: result submit error if a test was repeated before submitting
This commit is contained in:
parent
935602a859
commit
3af1f66dfb
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue