mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +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,
|
||||
...officeAPI,
|
||||
hasCorporation: () => () => !!Player.corporation,
|
||||
getConstants: (ctx) => () => {
|
||||
checkAccess(ctx);
|
||||
getConstants: () => () => {
|
||||
/* 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.
|
||||
* 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