From 6368d7d9a877c1a3080ccf053a8562152bb5db3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E4=BA=91?= Date: Sun, 25 May 2025 17:56:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AD=89=E5=BE=85=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/AutoFriendshipFight/main.js | 1 + repo/js/AutoFriendshipFight/manifest.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/repo/js/AutoFriendshipFight/main.js b/repo/js/AutoFriendshipFight/main.js index 87fabe3b..a0348f79 100644 --- a/repo/js/AutoFriendshipFight/main.js +++ b/repo/js/AutoFriendshipFight/main.js @@ -184,6 +184,7 @@ async function AutoFriendshipDev(times, ocrTimeout, fightTimeout, enemyType = " }), fightResultPromise // 不捕获超时错误,让它直接抛到外层 ]); + await pathTaskPromise; // 等待路径任务完成 cts.cancel(); } catch (error) { cts.cancel(); diff --git a/repo/js/AutoFriendshipFight/manifest.json b/repo/js/AutoFriendshipFight/manifest.json index 01a149bc..de67e497 100644 --- a/repo/js/AutoFriendshipFight/manifest.json +++ b/repo/js/AutoFriendshipFight/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "战斗好感:自动好感度&卡时间", - "version": "1.3.0", + "version": "1.3.1", "tags": [ "好感", "盗宝团",