mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Merge pull request #2705 from pigalot/bug-corp-product-cost
BUG: Fix for corp product cost
This commit is contained in:
commit
acee3c2994
@ -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