From 752534bc4d6674609a1f8f166421d76a6601fc5f Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sat, 9 Oct 2021 12:49:53 -0400 Subject: [PATCH] fix joinBladeburner --- src/NetscriptFunctions.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/NetscriptFunctions.ts b/src/NetscriptFunctions.ts index 9b2aef9de..0a133c9e0 100644 --- a/src/NetscriptFunctions.ts +++ b/src/NetscriptFunctions.ts @@ -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(