mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
implement #1242
This commit is contained in:
parent
684a254ac8
commit
11a345dd66
@ -80,6 +80,11 @@ export class Warehouse {
|
|||||||
if (params.corp && params.industry) {
|
if (params.corp && params.industry) {
|
||||||
this.updateSize(params.corp, params.industry);
|
this.updateSize(params.corp, params.industry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Default smart supply to being enabled if the upgrade is unlocked
|
||||||
|
if (params.corp?.unlockUpgrades[1]) {
|
||||||
|
this.smartSupplyEnabled = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Re-calculate how much space is being used by this Warehouse
|
// Re-calculate how much space is being used by this Warehouse
|
||||||
|
Loading…
Reference in New Issue
Block a user