mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-28 04:52:29 +01:00
Address blackops error
Address blackops error by removing incorrect check for type
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user