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": [ "好感", "盗宝团",