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,10 +2,6 @@ import { Bladeburner } from "../../Bladeburner/Bladeburner";
import { IPlayer } from "../IPlayer";
export function canAccessBladeburner(this: IPlayer): boolean {
if (this.bitNodeN === 8) {
return false;
}
return this.bitNodeN === 6 || this.bitNodeN === 7 || this.sourceFileLvl(6) > 0 || this.sourceFileLvl(7) > 0;
}