mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +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 => {
|
||||
helpers.log(ctx, () => "Exiting...");
|
||||
ctx.workerScript.env.stopFlag = true;
|
||||
killWorkerScript(ctx.workerScript);
|
||||
throw new ScriptDeath(ctx.workerScript);
|
||||
},
|
||||
scp:
|
||||
|
Loading…
Reference in New Issue
Block a user