mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 15:28:43 +02:00
[IPvGO] Docs improvements and other feedback (#1011)
This commit is contained in:
committed by
GitHub
parent
0da9d9d3c0
commit
7e721c144e
@@ -41,6 +41,11 @@ export async function makePlayerMove(logger: (s: string) => void, x: number, y:
|
||||
if (validity !== validityReason.valid || !result) {
|
||||
await sleep(500);
|
||||
logger(`ERROR: Invalid move: ${validity}`);
|
||||
|
||||
if (validity === validityReason.notYourTurn) {
|
||||
logger("Do you have multiple scripts running, or did you forget to await makeMove() ?");
|
||||
}
|
||||
|
||||
return Promise.resolve(invalidMoveResponse);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user