mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
CORPORATION: Don't check access for getConstants
(#1430)
This commit is contained in:
parent
819f877370
commit
bf8c15332e
@ -588,8 +588,7 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
|
|||||||
...warehouseAPI,
|
...warehouseAPI,
|
||||||
...officeAPI,
|
...officeAPI,
|
||||||
hasCorporation: () => () => !!Player.corporation,
|
hasCorporation: () => () => !!Player.corporation,
|
||||||
getConstants: (ctx) => () => {
|
getConstants: () => () => {
|
||||||
checkAccess(ctx);
|
|
||||||
/* TODO 2.2: possibly just rework the whole corp constants structure to be more readable, and just use
|
/* TODO 2.2: possibly just rework the whole corp constants structure to be more readable, and just use
|
||||||
* structuredClone to provide it directly to player.
|
* structuredClone to provide it directly to player.
|
||||||
* TODO 2.2: Roll product information into industriesData, there's no reason to look up a product separately */
|
* TODO 2.2: Roll product information into industriesData, there's no reason to look up a product separately */
|
||||||
|
Loading…
Reference in New Issue
Block a user