fix: 移除v8报错
This commit is contained in:
@@ -754,6 +754,7 @@ async function AutoFriendshipDev(times, ocrTimeout, fightTimeout, enemyType = "
|
|||||||
]);
|
]);
|
||||||
await pathTaskPromise; // 等待路径任务完成
|
await pathTaskPromise; // 等待路径任务完成
|
||||||
cts.cancel();
|
cts.cancel();
|
||||||
|
await battleTask;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
cts.cancel();
|
cts.cancel();
|
||||||
if (error.message && error.message.includes("战斗超时")) {
|
if (error.message && error.message.includes("战斗超时")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user