mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
Fixed Bladeburner bug where exception would be thrown if Blackop was created outside of Bladeburner UI
This commit is contained in:
parent
7d149f5f7b
commit
f403bd14b7
4
dist/engine.bundle.js
vendored
4
dist/engine.bundle.js
vendored
@ -57509,7 +57509,9 @@ Bladeburner.prototype.completeAction = function() {
|
|||||||
return Object(_RedPill_js__WEBPACK_IMPORTED_MODULE_5__["hackWorldDaemon"])(_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].bitNodeN);
|
return Object(_RedPill_js__WEBPACK_IMPORTED_MODULE_5__["hackWorldDaemon"])(_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].bitNodeN);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.createActionAndSkillsContent();
|
if (_engine_js__WEBPACK_IMPORTED_MODULE_1__["Engine"].currentPage === _engine_js__WEBPACK_IMPORTED_MODULE_1__["Engine"].Page.Bladeburner) {
|
||||||
|
this.createActionAndSkillsContent();
|
||||||
|
}
|
||||||
|
|
||||||
if (this.logging.blackops) {
|
if (this.logging.blackops) {
|
||||||
this.log(action.name + " successful! Gained " + Object(_utils_StringHelperFunctions_js__WEBPACK_IMPORTED_MODULE_11__["formatNumber"])(rankGain, 1) + " rank");
|
this.log(action.name + " successful! Gained " + Object(_utils_StringHelperFunctions_js__WEBPACK_IMPORTED_MODULE_11__["formatNumber"])(rankGain, 1) + " rank");
|
||||||
|
4
dist/tests.bundle.js
vendored
4
dist/tests.bundle.js
vendored
@ -57509,7 +57509,9 @@ Bladeburner.prototype.completeAction = function() {
|
|||||||
return Object(_RedPill_js__WEBPACK_IMPORTED_MODULE_5__["hackWorldDaemon"])(_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].bitNodeN);
|
return Object(_RedPill_js__WEBPACK_IMPORTED_MODULE_5__["hackWorldDaemon"])(_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].bitNodeN);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.createActionAndSkillsContent();
|
if (_engine_js__WEBPACK_IMPORTED_MODULE_1__["Engine"].currentPage === _engine_js__WEBPACK_IMPORTED_MODULE_1__["Engine"].Page.Bladeburner) {
|
||||||
|
this.createActionAndSkillsContent();
|
||||||
|
}
|
||||||
|
|
||||||
if (this.logging.blackops) {
|
if (this.logging.blackops) {
|
||||||
this.log(action.name + " successful! Gained " + Object(_utils_StringHelperFunctions_js__WEBPACK_IMPORTED_MODULE_11__["formatNumber"])(rankGain, 1) + " rank");
|
this.log(action.name + " successful! Gained " + Object(_utils_StringHelperFunctions_js__WEBPACK_IMPORTED_MODULE_11__["formatNumber"])(rankGain, 1) + " rank");
|
||||||
|
@ -1202,7 +1202,9 @@ Bladeburner.prototype.completeAction = function() {
|
|||||||
return hackWorldDaemon(Player.bitNodeN);
|
return hackWorldDaemon(Player.bitNodeN);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.createActionAndSkillsContent();
|
if (Engine.currentPage === Engine.Page.Bladeburner) {
|
||||||
|
this.createActionAndSkillsContent();
|
||||||
|
}
|
||||||
|
|
||||||
if (this.logging.blackops) {
|
if (this.logging.blackops) {
|
||||||
this.log(action.name + " successful! Gained " + formatNumber(rankGain, 1) + " rank");
|
this.log(action.name + " successful! Gained " + formatNumber(rankGain, 1) + " rank");
|
||||||
|
Loading…
Reference in New Issue
Block a user