mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
fix up param order to match docs
hotfix/4058 File List: src/NetscriptFunctions/Corporation.ts
This commit is contained in:
parent
2592c6ccd8
commit
2a8ddb8147
@ -534,7 +534,7 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
|
||||
},
|
||||
limitProductProduction:
|
||||
(ctx: NetscriptContext) =>
|
||||
(_divisionName: unknown, _productName: unknown, _cityName: unknown, _qty: unknown): void => {
|
||||
(_divisionName: unknown, _cityName: unknown, _productName: unknown, _qty: unknown): void => {
|
||||
checkAccess(ctx, 7);
|
||||
const divisionName = helpers.string(ctx, "divisionName", _divisionName);
|
||||
const cityName = helpers.city(ctx, "cityName", _cityName);
|
||||
|
Loading…
Reference in New Issue
Block a user