From 71c0506a72b42ddc4597f7d1504e5be2d55031c7 Mon Sep 17 00:00:00 2001 From: dy Date: Sun, 31 Dec 2023 15:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=8E=A9=E5=AE=B6=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E7=9A=84=E9=A5=B0=E5=93=81=E5=92=8C=E9=85=8D=E4=BB=B6?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E8=BF=9B=E4=B8=8D=E5=8E=BB=E6=B8=B8=E6=88=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/hero/ApiGetList.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_s2c/hero/ApiGetList.ts b/src/api_s2c/hero/ApiGetList.ts index 623996a..aafd7e2 100644 --- a/src/api_s2c/hero/ApiGetList.ts +++ b/src/api_s2c/hero/ApiGetList.ts @@ -21,7 +21,7 @@ export default async function (call: ApiCall) { color[heroCon[v.heroId].colour] += 1; }); - checkDataAndFix(call, list) + await checkDataAndFix(call, list) // 记录玩家最大等级,颜色相关数据 注册任务用 await G.mongodb.collection('playerInfo', 'usertasklog').updateOne({uid: call.conn.uid, type: 'usertasklog'},