mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
fix joinBladeburner
This commit is contained in:
parent
3346f3539c
commit
752534bc4d
@ -4178,7 +4178,6 @@ function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
},
|
||||
joinBladeburnerDivision: function (): any {
|
||||
updateDynamicRam("joinBladeburnerDivision", getRamCost("bladeburner", "joinBladeburnerDivision"));
|
||||
checkBladeburnerAccess("joinBladeburnerDivision", true);
|
||||
const bladeburner = Player.bladeburner;
|
||||
if (bladeburner === null) throw new Error("Should not be called without Bladeburner");
|
||||
if (Player.bitNodeN === 7 || SourceFileFlags[7] > 0) {
|
||||
@ -4196,12 +4195,6 @@ function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
Player.bladeburner = new Bladeburner(Player);
|
||||
workerScript.log("joinBladeburnerDivision", "You have been accepted into the Bladeburner division");
|
||||
|
||||
const worldHeader = document.getElementById("world-menu-header");
|
||||
if (worldHeader instanceof HTMLElement) {
|
||||
worldHeader.click();
|
||||
worldHeader.click();
|
||||
}
|
||||
|
||||
return true;
|
||||
} else {
|
||||
workerScript.log(
|
||||
|
Loading…
Reference in New Issue
Block a user