Improve watcher
This commit is contained in:
parent
5febd7ed3b
commit
12d9165162
@ -15,5 +15,5 @@ export async function main(ns: NS) {
|
|||||||
}
|
}
|
||||||
// Wait 1 second before checking again
|
// Wait 1 second before checking again
|
||||||
await ns.sleep(1000)
|
await ns.sleep(1000)
|
||||||
} while (hackingLevel < 9999)
|
} while (hackingLevel <= Math.max(...levels))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user