CORPORATION: Give Full Api Access on BN3 (#276)

This commit is contained in:
zerbosh 2023-01-02 15:48:02 +01:00 committed by GitHub
parent e90224c63d
commit aa50378e18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,7 @@ export function startCorporation(this: PlayerObject, corpName: string, additiona
name: corpName,
});
if (this.sourceFileLvl(3) === 3) {
if (this.bitNodeN === 3 || this.sourceFileLvl(3) === 3) {
const warehouseApi = CorporationUnlockUpgrades[CorporationUnlockUpgradeIndex.WarehouseAPI].index;
const OfficeApi = CorporationUnlockUpgrades[CorporationUnlockUpgradeIndex.OfficeAPI].index;