mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-04 06:37:49 +02:00
BUGFIX: Cannot buy augmentations via UI when money is equal to cost (#2039)
This commit is contained in:
@@ -43,7 +43,7 @@ export function SleeveAugmentationsModal(props: IProps): React.ReactElement {
|
||||
augNames={availableAugs.map((aug) => aug.name)}
|
||||
ownedAugNames={ownedAugNames}
|
||||
canPurchase={(aug) => {
|
||||
return Player.money > aug.baseCost;
|
||||
return Player.money >= aug.baseCost;
|
||||
}}
|
||||
purchaseAugmentation={(aug) => {
|
||||
props.sleeve.tryBuyAugmentation(aug);
|
||||
|
||||
Reference in New Issue
Block a user