mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
Update spawn.rst
Code example comment represented passing '10' as an arg to the script, when actually it's the number of threads so a `-t 10` flag. Fixed the comment to show this.
This commit is contained in:
parent
8f6e762107
commit
e175faecd8
@ -23,4 +23,4 @@ spawn() Netscript Function
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
spawn('foo.script', 10, 'foodnstuff', 90); // "run foo.script 10 foodnstuff 90" in 10 seconds.
|
||||
spawn('foo.script', 10, 'foodnstuff', 90); // "run foo.script foodnstuff 90 -t 10" in 10 seconds.
|
||||
|
Loading…
Reference in New Issue
Block a user