mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
Fixed bugs with new Netscript commands
This commit is contained in:
@@ -111,6 +111,8 @@ function runScriptsLoop() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
dialogBoxCreate("An unknown script died for an unknown reason. This is a bug please contact game dev");
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -152,8 +154,10 @@ function killWorkerScript(scriptName, serverIp) {
|
||||
for (var i = 0; i < workerScripts.length; i++) {
|
||||
if (workerScripts[i].name == scriptName && workerScripts[i].serverIp == serverIp) {
|
||||
workerScripts[i].env.stopFlag = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
//Queues a script to be run
|
||||
|
||||
Reference in New Issue
Block a user