core: fix ide conn after scoreboard freeze

This commit is contained in:
undefined committed 2025-11-09 19:56:48 +08:00
1 parent d5f5126b95
commit 2fd4b02d6d
1 file changed
+1 -1
+1 -1
View File
@@ -333,7 +333,7 @@ class RecordMainConnectionHandler extends ConnectionHandler {
if (!this.all) { if (!this.all) {
if (rdoc.contest && ![this.tid, '000000000000000000000000'].includes(rdoc.contest.toString())) return; if (rdoc.contest && ![this.tid, '000000000000000000000000'].includes(rdoc.contest.toString())) return;
if (this.tid && rdoc.contest?.toString() !== '0'.repeat(24)) { if (this.tid && rdoc.contest?.toString() !== '0'.repeat(24)) {
if (contest.isLocked(this.tdoc)) return; if (contest.isLocked(this.tdoc) && !this.pretest) return;
if (!contest.canShowSelfRecord.call(this, this.tdoc, true)) return; if (!contest.canShowSelfRecord.call(this, this.tdoc, true)) return;
} }
} }