Skip to content

Commit

Permalink
Update to cost
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaynes-rbx committed Jul 21, 2024
1 parent 1a5008b commit 20d8fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function App() {
newUpgrades[index] = {
...upgrade,
owned: upgrade.owned + 1 * multiplier,
cost: Math.ceil(upgrade.cost * 1.075),
cost: Math.ceil(upgrade.cost * 1.075 * multiplier),
};
return newUpgrades;
});
Expand Down

0 comments on commit 20d8fa1

Please sign in to comment.