mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-27 12:32:28 +01:00
actually exitOnExit
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user