diff --git a/src/NetscriptFunctions/Singularity.ts b/src/NetscriptFunctions/Singularity.ts index 64fc34497..34f154f8f 100644 --- a/src/NetscriptFunctions/Singularity.ts +++ b/src/NetscriptFunctions/Singularity.ts @@ -738,6 +738,7 @@ export function NetscriptSingularity( helper.checkSingularityAccess("stopAction"); if (player.isWorking) { if (player.focus) { + player.stopFocusing(); Router.toTerminal(); } const txt = player.singularityStopWork(); diff --git a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx index 3991047d7..9a44d64ad 100644 --- a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx +++ b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx @@ -729,6 +729,7 @@ export function finishWork(this: IPlayer, cancelled: boolean, sing = false): str } this.isWorking = false; + this.focus = false; this.resetWorkStatus(); if (sing) {