mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
Merge pull request #2179 from antonvmironov/fix-CorporationInfo.state
Fix CorporationInfo.state
This commit is contained in:
commit
9f9ce40ef0
@ -496,7 +496,7 @@ export function NetscriptCorporation(
|
||||
shareSaleCooldown: corporation.shareSaleCooldown,
|
||||
issuedShares: corporation.issuedShares,
|
||||
sharePrice: corporation.sharePrice,
|
||||
state: corporation.state + "",
|
||||
state: corporation.state.getState(),
|
||||
};
|
||||
},
|
||||
};
|
||||
|
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -6128,7 +6128,7 @@ interface CorporationInfo {
|
||||
issuedShares: number;
|
||||
/** Price of the shares */
|
||||
sharePrice: number;
|
||||
/** State of the corporation, like PRODUCTION or EXPORT */
|
||||
/** State of the corporation. Possible states are START, PURCHASE, PRODUCTION, SALE, EXPORT. */
|
||||
state: string;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user