From 20d8fa16d1fab23ec7683fa352e34e7a473a357d Mon Sep 17 00:00:00 2001 From: Dustin Haynes Date: Sun, 21 Jul 2024 16:10:18 -0700 Subject: [PATCH] Update to cost --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index a6baadd9..0d9906f2 100644 --- a/src/App.js +++ b/src/App.js @@ -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; });