From 8638f7f558680dbf7e1279066470b7864ec48e11 Mon Sep 17 00:00:00 2001 From: mamengke01 <794347210@qq.com> Date: Wed, 13 Jan 2021 20:09:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E7=AE=97=E5=80=92=E8=AE=A1=E6=97=B6?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/timeTaskService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;