From ed59fce738f86cab1a7a4e4bf3910d98513d6e5e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 21 Sep 2022 16:21:10 +0800 Subject: [PATCH] 1 --- server/game2006service/tasks/fragment.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/game2006service/tasks/fragment.js b/server/game2006service/tasks/fragment.js index ae24e1dd..b21865f9 100644 --- a/server/game2006service/tasks/fragment.js +++ b/server/game2006service/tasks/fragment.js @@ -29,6 +29,7 @@ class Fragment { const isAlloced = await this.isAlloced(conn, daySeconds, nowTime, hourSeconds); if (!isAlloced) { const allocedFragments = await this.fetchAllocedFragments(conn, daySeconds, nowTime); + await this.realloc(conn, daySeconds, nowTime, allowedVersions); } } } catch (err) { @@ -87,6 +88,9 @@ class Fragment { return allocedFragments; } + async realloc(conn, daySeconds, nowTime, hourSeconds, allocedFragments) { + } + } function init() {