Update state for first run
This commit is contained in:
parent
1d3ce073f6
commit
70ec4d9463
@ -11,6 +11,7 @@ export async function main(ns: NS) {
|
|||||||
{ program: "HTTPWorm.exe", exists: false },
|
{ program: "HTTPWorm.exe", exists: false },
|
||||||
{ program: "SQLInject.exe", exists: false },
|
{ program: "SQLInject.exe", exists: false },
|
||||||
]
|
]
|
||||||
|
checkForNewPrograms(ns, state)
|
||||||
|
|
||||||
// Remove levels that are already hacked
|
// Remove levels that are already hacked
|
||||||
levels = levels.filter(level => level > hackingLevel)
|
levels = levels.filter(level => level > hackingLevel)
|
||||||
|
Loading…
Reference in New Issue
Block a user