Not highlight 0 submissions
This commit is contained in:
parent
3a09375057
commit
fe3807b60d
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@
|
|||
// update best submissions
|
||||
let curBest = bestSubmissions[problem]
|
||||
|
||||
if (scoretimeComparison(curSubmission, curBest)) {
|
||||
if (scoretimeComparison(curSubmission, curBest) && score) {
|
||||
bestSubmissions[problem] = curSubmission;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue