mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 08:13:50 +02:00
Ensure that we leave focus when we call stopAction or cancel working
This commit is contained in:
@@ -738,6 +738,7 @@ export function NetscriptSingularity(
|
||||
helper.checkSingularityAccess("stopAction");
|
||||
if (player.isWorking) {
|
||||
if (player.focus) {
|
||||
player.stopFocusing();
|
||||
Router.toTerminal();
|
||||
}
|
||||
const txt = player.singularityStopWork();
|
||||
|
||||
Reference in New Issue
Block a user