Improve watcher

This commit is contained in:
Isaac Shoebottom 2023-11-03 22:55:07 -03:00
parent 5febd7ed3b
commit 12d9165162

View File

@ -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))
} }