this uses the wrong price

This commit is contained in:
biglyderv 2025-03-06 19:31:40 -05:00
parent 15f8c1123c
commit cf63368549
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5

View file

@ -35,7 +35,7 @@ for (let upgrade of upgrades) {
hud2.appendChild(button); hud2.appendChild(button);
button.addEventListener('click', () => { button.addEventListener('click', () => {
if (nothingness < upgrade.price) return; if (nothingness < price) return;
counts[upgrade.exec]++; counts[upgrade.exec]++;
cc = counts[upgrade.exec]; cc = counts[upgrade.exec];