fix price bug
This commit is contained in:
parent
baac2b0513
commit
e7fdc553bc
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ for (let upgrade of upgrades) {
|
|||
|
||||
price = upgrade.price * (1.02 ** counts[upgrade.exec]);
|
||||
|
||||
nothingness -= upgrade.price;
|
||||
nothingness -= price;
|
||||
upgrade.price *= 1.02;
|
||||
updateText(button, price, upgrade.name, cc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue