mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
Merge pull request #2704 from Meowdoleon/patch-1
Declaring the script variable in the NS2 example
This commit is contained in:
commit
fd530ad779
@ -48,7 +48,7 @@ for (let i = 0; i < scripts.length; ++i) {
|
||||
```ts
|
||||
// NS2:
|
||||
const ps = ns.ps("home");
|
||||
for (script of ps) {
|
||||
for (let script of ps) {
|
||||
ns.tprint(`${script.filename} ${ps[i].threads}`);
|
||||
ns.tprint(script.args);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user