few bugfix

This commit is contained in:
Olivier Gagnon
2021-09-22 11:32:04 -04:00
parent a954259e25
commit 558b671206
8 changed files with 25 additions and 27 deletions
+1
View File
@@ -3340,6 +3340,7 @@ function NetscriptFunctions(workerScript) {
updateDynamicRam("stopAction", getRamCost("stopAction"));
checkSingularityAccess("stopAction", 1);
if (Player.isWorking) {
Router.toTerminal();
var txt = Player.singularityStopWork();
workerScript.log("stopAction", txt);
return true;