diff --git a/game-server/app/services/timeTaskService.ts b/game-server/app/services/timeTaskService.ts index dd0025463..fc45d481e 100644 --- a/game-server/app/services/timeTaskService.ts +++ b/game-server/app/services/timeTaskService.ts @@ -43,7 +43,7 @@ export async function init() { } let settleTime = (seasonEndTime - SETTLE_DIFF)* PER_SECOND; seasonJobId = scheduleJob(settleTime, setPvpSeasonResult); - warJobId = scheduleJob("0 0 0 * * 1", resetPvpWarId); + warJobId = scheduleJob("0 0 0 * * 3", resetPvpWarId); } export async function setPvpSeasonResult(obj:{ name:string, notSetNext?: boolean }) { diff --git a/shared/pubUtils/util.ts b/shared/pubUtils/util.ts index 09b6d5a2b..302dd2ea6 100644 --- a/shared/pubUtils/util.ts +++ b/shared/pubUtils/util.ts @@ -7,7 +7,7 @@ import path = require('path'); import { DicRandomEffectPool } from './dictionary/DicRandomEffectPool'; import { HERO_CE_RATIO, ABI_STAGE } from '../consts'; -import { uniq, findWhere, findIndex } from 'underscore'; +import { findIndex } from 'underscore'; const moment = require('moment');