mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
Fixes CorporationInfo.state
Before: CorporationInfo.state was returning "[Object object]". After: CorporationInfo.state returns an actual state like START, PURCHASE, PRODUCTION, SALE, EXPORT
This commit is contained in:
parent
d99b03d12e
commit
23683d3482
@ -496,7 +496,7 @@ export function NetscriptCorporation(
|
||||
shareSaleCooldown: corporation.shareSaleCooldown,
|
||||
issuedShares: corporation.issuedShares,
|
||||
sharePrice: corporation.sharePrice,
|
||||
state: corporation.state + "",
|
||||
state: corporation.state.getState(),
|
||||
};
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user