wobblyhead hg > minor_monsters
diff game/js/input.js @ 15:c1c7e4f54bf6
balance work prep
| author | ark |
|---|---|
| date | 2026-10-19 23:36 +0200 |
| parents | 8df95050fc8b |
| children |
line wrap: on
line diff
--- a/game/js/input.js Mon Oct 19 22:50:52 2026 +0200 +++ b/game/js/input.js Mon Oct 19 23:36:08 2026 +0200 @@ -111,7 +111,7 @@ else if (b.id === "pause") game.togglePause(); else if (b.id === "speed") game.speedIndex = (game.speedIndex + 1) % game.speeds.length; else if (b.id === "early") game.startEarly(); - else if (b.id === "shop" && !game.paused && game.canAfford(MM.config.tower[b.tower].cost)) game.chooseShop(b.tower); + else if (b.id === "shop" && !game.paused && game.canAfford(MM.config.tower[b.tower].cost[0])) game.chooseShop(b.tower); else if (b.id === "upgrade") game.upgrade(); else if (b.id === "sell") game.sell(); return null;
