Fix missing money display

This commit is contained in:
Olivier Gagnon
2021-09-04 14:03:19 -04:00
parent c9efa977fb
commit e1c29f25e2
14 changed files with 43 additions and 51 deletions
+2 -2
View File
@@ -23,10 +23,10 @@ export function PurchaseButton(props) {
text = <>Hacknet Server limit reached</>;
style = {color: "red"};
} else {
text = <>Purchase Hacknet Server - {Money(cost)}</>;
text = <>Purchase Hacknet Server - <Money money={cost} player={Player} /></>;
}
} else {
text = <>Purchase Hacknet Node - {Money(cost)}</>;
text = <>Purchase Hacknet Node - <Money money={cost} player={Player} /></>;
}
return (