mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
Merge pull request #3570 from DavidGrinberg/dev
CORPORATIONS: Expose makeProducts on NSDivision interface
This commit is contained in:
@@ -295,6 +295,7 @@ export function NetscriptCorporation(
|
||||
if (office === 0) continue;
|
||||
cities.push(office.loc);
|
||||
}
|
||||
|
||||
return {
|
||||
name: division.name,
|
||||
type: division.type,
|
||||
@@ -309,6 +310,7 @@ export function NetscriptCorporation(
|
||||
upgrades: division.upgrades.slice(),
|
||||
cities: cities,
|
||||
products: division.products === undefined ? [] : Object.keys(division.products),
|
||||
makesProducts: division.makesProducts,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user