mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-01 05:17:04 +02:00
work on making the netscript api tighter
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user