core: hide nAccept in contest

This commit is contained in:
undefined committed 2021-07-09 17:42:24 +08:00
1 parent b35d75cfe8
commit 719cc0570c
5 files changed
+10 -5

No files matched your search

+3 -2
View File
@@ -37,8 +37,9 @@ async function postInit() {
if (!global.Hydro.isFirstWorker) return;
const judge = require('./judge');
const { task, system, setting } = global.Hydro.model;
const { storage } = global.Hydro.service;
const {
task, system, setting, storage,
} = global.Hydro.model;
const _judge = global.Hydro.handler.judge as any;
if (system.get('hydrojudge.disable')) return;