mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Fix for corp product cost
This commit is contained in:
parent
34f18a6000
commit
5c7ac9ab8e
@ -81,7 +81,7 @@ export function ProductElem(props: IProductProps): React.ReactElement {
|
|||||||
);
|
);
|
||||||
} else if (product.sCost) {
|
} else if (product.sCost) {
|
||||||
if (isString(product.sCost)) {
|
if (isString(product.sCost)) {
|
||||||
const sCost = (product.sCost as string).replace(/MP/g, product.pCost + "");
|
const sCost = (product.sCost as string).replace(/MP/g, product.pCost + product.rat / product.mku + "");
|
||||||
sellButtonText = (
|
sellButtonText = (
|
||||||
<>
|
<>
|
||||||
{sellButtonText} @ <Money money={eval(sCost)} />
|
{sellButtonText} @ <Money money={eval(sCost)} />
|
||||||
|
Loading…
Reference in New Issue
Block a user