mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-14 11:30:08 +02:00
CORPORATION: Remove Spring Water industry (#2240)
This commit is contained in:
@@ -203,7 +203,7 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
|
||||
throw helpers.errorMessage(ctx, "You must provide a positive number");
|
||||
}
|
||||
const warehouse = getWarehouse(divisionName, cityName);
|
||||
return upgradeWarehouseCost(warehouse, amt);
|
||||
return upgradeWarehouseCost(warehouse.level, amt);
|
||||
},
|
||||
hasWarehouse: (ctx) => (_divisionName, _cityName) => {
|
||||
checkAccess(ctx, CorpUnlockName.WarehouseAPI);
|
||||
|
||||
Reference in New Issue
Block a user