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'},