mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Merge pull request #1253 from Nolshine/1242_enable_smartsupply_by_default
implement #1242
This commit is contained in:
commit
22bf958e2e
@ -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