diff --git a/game-server/app/services/timeTaskService.ts b/game-server/app/services/timeTaskService.ts index e1fb42881..7a55eda73 100644 --- a/game-server/app/services/timeTaskService.ts +++ b/game-server/app/services/timeTaskService.ts @@ -152,7 +152,7 @@ async function setNextPvpTime(notSetNext: boolean) { if (!notSetNext) { return { seasonEndTime, seasonNum: systemConfig.seasonNum + 1 }; } - seasonEndTimeJobId = scheduleJob(systemConfig.seasonEndTime , async function () { + seasonEndTimeJobId = scheduleJob(systemConfig.seasonEndTime * PER_SECOND, async function () { seasonEndTime = PVP.PVP_SEASON_DAYS * PER_DAY + getTodayZeroPoint(); systemConfig = await SystemConfigModel.updateSeason(seasonEndTime); let settleTime = (seasonEndTime - SETTLE_DIFF)* PER_SECOND;