45026831 / hh-plus-plus

12 stars 15 forks source link

[bug] Market info bought stat tracking #18

Closed 45026831 closed 3 years ago

45026831 commented 3 years ago

Describe the bug Click handler on disabled buy stat buttons runs even when button is disabled (already maxed)

To Reproduce Steps to reproduce the behavior:

  1. Check market info of a stat when maxed
  2. Click the disabled "+"
  3. Check market info again and see buyable stats has decremented into the negative and bought stat points has incremented

Expected behavior Nothing should happen when maxed

Version info (please complete the following information):

45026831 commented 3 years ago

Fixed in 0.33.5 (5c88eaf)

45026831 commented 3 years ago

Not fully fixed. It now doesn't track the final stats bought when the button becomes disabled.

45026831 commented 3 years ago

Fixed in 0.33.11 (b7ab38f)