Improve comments
This commit is contained in:
parent
461775a92f
commit
78d8153f8e
@ -20,7 +20,7 @@ export async function main(ns: NS) {
|
|||||||
do {
|
do {
|
||||||
let restart = false
|
let restart = false
|
||||||
if (Math.min(...levels) <= hackingLevel) {
|
if (Math.min(...levels) <= hackingLevel) {
|
||||||
ns.tprint(`Hacking level increased past ${Math.min(...levels)}}, is now ${hackingLevel}`)
|
ns.tprint(`Hacking level increased to/past ${Math.min(...levels)}, is now ${hackingLevel}`)
|
||||||
ns.tprint(`Remaining levels to hack: ${levels}`)
|
ns.tprint(`Remaining levels to hack: ${levels}`)
|
||||||
// remove the level from the list, so we don't try to hack it again
|
// remove the level from the list, so we don't try to hack it again
|
||||||
levels = levels.filter(level => level > hackingLevel)
|
levels = levels.filter(level => level > hackingLevel)
|
||||||
|
Loading…
Reference in New Issue
Block a user