From d345188ccea73920cd162af80a41c90a41daeb60 Mon Sep 17 00:00:00 2001 From: rderfler <44448965+rderfler@users.noreply.github.com> Date: Mon, 25 Apr 2022 13:57:54 -0400 Subject: [PATCH] Address blackops error Address blackops error by removing incorrect check for type --- src/Bladeburner/Bladeburner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bladeburner/Bladeburner.tsx b/src/Bladeburner/Bladeburner.tsx index b7fa6664e..4ef0074bf 100644 --- a/src/Bladeburner/Bladeburner.tsx +++ b/src/Bladeburner/Bladeburner.tsx @@ -1678,7 +1678,7 @@ export class Bladeburner implements IBladeburner { player.gainStats(retValue); // Operation Daedalus const action = this.getActionObject(this.action); - if (action == null || !(action instanceof BlackOperation)) { + if (action == null) { throw new Error("Failed to get BlackOperation Object for: " + this.action.name); } else if (action.name === BlackOperationNames.OperationDaedalus && this.blackops[action.name]) { this.resetAction();