diff --git a/src/NetscriptFunctions/Singularity.ts b/src/NetscriptFunctions/Singularity.ts index 7d6758dd5..6dfb17205 100644 --- a/src/NetscriptFunctions/Singularity.ts +++ b/src/NetscriptFunctions/Singularity.ts @@ -725,7 +725,9 @@ export function NetscriptSingularity( helper.updateDynamicRam("stopAction", getRamCost("stopAction")); helper.checkSingularityAccess("stopAction", 1); if (player.isWorking) { - Router.toTerminal(); + if (player.focus) { + Router.toTerminal(); + } const txt = player.singularityStopWork(); workerScript.log("stopAction", () => txt); return true;