mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Only change to terminal when focused
This commit is contained in:
parent
c50c92f9b5
commit
cd4c98d942
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user