Fix joining blade via ns

Pass Player as an argument in Bladeburner constructor call for ns.bladeburner.joinBladeburnerDivision()
This commit is contained in:
Snarling 2021-08-24 20:08:29 -04:00 committed by GitHub
parent 5d59620dce
commit 0d6d05db49
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");