mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-10 15:27:32 +01:00
actually exitOnExit
This commit is contained in:
parent
1be015898c
commit
137f58c36d
@ -836,7 +836,7 @@ const base: InternalAPI<NS> = {
|
|||||||
},
|
},
|
||||||
exit: (ctx: NetscriptContext) => (): never => {
|
exit: (ctx: NetscriptContext) => (): never => {
|
||||||
helpers.log(ctx, () => "Exiting...");
|
helpers.log(ctx, () => "Exiting...");
|
||||||
ctx.workerScript.env.stopFlag = true;
|
killWorkerScript(ctx.workerScript);
|
||||||
throw new ScriptDeath(ctx.workerScript);
|
throw new ScriptDeath(ctx.workerScript);
|
||||||
},
|
},
|
||||||
scp:
|
scp:
|
||||||
|
Loading…
Reference in New Issue
Block a user