diff --git a/game-server/app/services/timeTaskService.ts b/game-server/app/services/timeTaskService.ts index 96de27e83..429038cc3 100644 --- a/game-server/app/services/timeTaskService.ts +++ b/game-server/app/services/timeTaskService.ts @@ -117,9 +117,7 @@ async function setPvpSeason(isForce?: boolean, hour?: number) { console.log(`******** setPvpSeason4: newSeasonStartTime-${newSeasonStartTime}, during-${during}`) if(isForce) { // debug使用,如果seasonEndTime是未来的,强行结束掉,新赛季从现在开始 - if(newSeasonStartTime > nowSeconds()) { - newSeasonStartTime = nowSeconds(); - } + newSeasonStartTime = nowSeconds(); } else { // 不是用debug的情况,如果(因为debug)newSeasonStartTime不是每天0点结算,那么改成lastSeasonEndTime之后的0点开始 let d = new Date(newSeasonStartTime * 1000); if(d.getHours() != 0) {