Address blackops error

Address blackops error by removing incorrect check for type
This commit is contained in:
rderfler 2022-04-25 13:57:54 -04:00
parent 5f46775950
commit d345188cce

@ -1678,7 +1678,7 @@ export class Bladeburner implements IBladeburner {
player.gainStats(retValue); player.gainStats(retValue);
// Operation Daedalus // Operation Daedalus
const action = this.getActionObject(this.action); 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); throw new Error("Failed to get BlackOperation Object for: " + this.action.name);
} else if (action.name === BlackOperationNames.OperationDaedalus && this.blackops[action.name]) { } else if (action.name === BlackOperationNames.OperationDaedalus && this.blackops[action.name]) {
this.resetAction(); this.resetAction();