Not highlight 0 submissions

This commit is contained in:
cuom1999 2020-06-15 17:51:14 -05:00
parent 3a09375057
commit fe3807b60d

View file

@ -250,7 +250,7 @@
// update best submissions
let curBest = bestSubmissions[problem]
if (scoretimeComparison(curSubmission, curBest)) {
if (scoretimeComparison(curSubmission, curBest) && score) {
bestSubmissions[problem] = curSubmission;
}
}