Merge pull request #1097 from Snarling/patch-2

Fix joining blade via ns
This commit is contained in:
hydroflame 2021-08-24 21:39:29 -04:00 committed by GitHub
commit 2a5cf62168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4065,7 +4065,7 @@ function NetscriptFunctions(workerScript) {
return true; // Already member
} else if (Player.strength >= 100 && Player.defense >= 100 &&
Player.dexterity >= 100 && Player.agility >= 100) {
Player.bladeburner = new Bladeburner();
Player.bladeburner = new Bladeburner(Player);
workerScript.log("joinBladeburnerDivision", "You have been accepted into the Bladeburner division");
const worldHeader = document.getElementById("world-menu-header");
@ -4546,4 +4546,4 @@ function NetscriptFunctions(workerScript) {
return functions;
} // End NetscriptFunction()
export { NetscriptFunctions };
export { NetscriptFunctions };