mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
DOCUMENTATION: Clarify ns.singularity.softReset (#1980)
This commit is contained in:
@@ -9,14 +9,14 @@ Soft reset the game.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
softReset(cbScript: string): void;
|
||||
softReset(cbScript?: string): void;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| cbScript | string | This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer. |
|
||||
| cbScript | string | _(Optional)_ This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
|
||||
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -2629,7 +2629,7 @@ export interface Singularity {
|
||||
*
|
||||
* @param cbScript - This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer.
|
||||
*/
|
||||
softReset(cbScript: string): void;
|
||||
softReset(cbScript?: string): void;
|
||||
|
||||
/**
|
||||
* Go to a location.
|
||||
|
||||
Reference in New Issue
Block a user