work on making the netscript api tighter

This commit is contained in:
Olivier Gagnon
2021-11-03 20:19:52 -04:00
parent c5fb5155f3
commit 14150d3e33
270 changed files with 11011 additions and 1273 deletions
+1 -1
View File
@@ -2126,7 +2126,7 @@ export class Bladeburner implements IBladeburner {
type: string,
name: string,
workerScript: WorkerScript,
): number[] {
): [number, number] {
const errorLogText = `Invalid action: type='${type}' name='${name}'`;
const actionId = this.getActionIdFromTypeAndName(type, name);
if (actionId == null) {