mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 10:13:52 +01:00
Address blackops error
Address blackops error by removing incorrect check for type
This commit is contained in:
parent
5f46775950
commit
d345188cce
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user