Why can't i buy this upgrade?

      11: {
        title: "Multiplier VI",
        description: "Boosts' gain to boost gain is boosted by itself",
        cost: new Decimal(1e3),
        unlocked() {return true}
      },

For some reason, with and without autoUpgrade(), this upgrade can’t be bought, even if i have enough boosts. Why is that?

2 Likes

that should be all you need. I think you should double check the amount of that layer’s points you have, as well as tmp[layer].upgrades[11].cost and maybe tmp[layer].upgrades[11].canAfford

2 Likes

e
still isn’t working for some reason

1 Like

@unp_gged Could you share the full code? (if it’s still an issue and hasn’t been fixed)

1 Like