fix up param order to match docs

hotfix/4058

File List:
src/NetscriptFunctions/Corporation.ts
This commit is contained in:
phyzical 2022-09-02 11:58:12 +08:00
parent 2592c6ccd8
commit 2a8ddb8147
No known key found for this signature in database
GPG Key ID: 91E97494BCA22BCF

@ -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);