Merge pull request #4101 from Kelenius/UnhardcodeBBAndCorpDisabling

UI: Bitnode stats now show if BB/Corporation are disabled
This commit is contained in:
hydroflame
2022-09-23 00:43:19 -03:00
committed by GitHub
7 changed files with 25 additions and 9 deletions
+2 -2
View File
@@ -397,8 +397,8 @@ export function NetscriptBladeburner(): InternalAPI<INetscriptBladeburner> {
},
joinBladeburnerDivision: (ctx: NetscriptContext) => (): boolean => {
if (player.bitNodeN === 7 || player.sourceFileLvl(7) > 0) {
if (player.bitNodeN === 8) {
return false;
if (BitNodeMultipliers.BladeburnerRank == 0) {
return false; // Disabled in this bitnode
}
if (player.bladeburner instanceof Bladeburner) {
return true; // Already member