core: fix negative ntry in ledo scoreboard (#1056)

This commit is contained in:
BlackPanda authored and GitHub committed 2025-10-02 13:00:32 +01:00
1 parent fd048a936d
commit 7e194e5d9f
1 file changed
+1 -1
+1 -1
View File
@@ -566,7 +566,7 @@ const ledo = buildContestRule({
detail[j.pid] = {
...j,
penaltyScore,
ntry: ntry[j.pid] - 1,
ntry: Math.max(0, ntry[j.pid] - 1),
};
}
}