修复因为少写括号导致的bug

This commit is contained in:
秋云
2025-01-20 22:52:40 +08:00
committed by GitHub
parent a8196192aa
commit d920bd9944

View File

@@ -9,13 +9,14 @@
log.error(`执行 ${locationName} 路径时发生错误`); log.error(`执行 ${locationName} 路径时发生错误`);
} }
await sleep(2000); await sleep(2000);
if (locationName == "纳塔凯瑟琳") if (locationName == "纳塔凯瑟琳") {
keyDown("w"); keyDown("w");
await sleep(4500); await sleep(4500);
keyUp("w"); keyUp("w");
keyDown("d"); keyDown("d");
await sleep(2000); await sleep(2000);
keyUp("d"); keyUp("d");
}
} }
let filePath; let filePath;