From cf63368549abc2eccbd04ad6c8a264bf59840b5d Mon Sep 17 00:00:00 2001 From: biglyderv Date: Thu, 6 Mar 2025 19:31:40 -0500 Subject: [PATCH] this uses the wrong price --- docs/js/upgrade.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/js/upgrade.js b/docs/js/upgrade.js index 965fb4b..f1eb859 100644 --- a/docs/js/upgrade.js +++ b/docs/js/upgrade.js @@ -35,7 +35,7 @@ for (let upgrade of upgrades) { hud2.appendChild(button); button.addEventListener('click', () => { - if (nothingness < upgrade.price) return; + if (nothingness < price) return; counts[upgrade.exec]++; cc = counts[upgrade.exec];