Upgrade menu bug

Jakuri

New member
Hi,
I found a bug in the demo upgrade menu, here's the reproduce steps:

1. Install a rune on the second slot of a weapon
2. click another weapon in the weapon list
3. try to install a rune

Then the rune is installed into the second slot of first weapon. Would you please fix it? Thank you!
 
Thank you for the reproducing steps. It took me awhile to figure out why it was breaking. Turns out the preview values were not reset properly and this was causing the next item to be selected to start with the previous item slot preview.
I ended up changing quite a bit from both UpgradeMenu and ItemUpgradePanel. I hope that helps. If you find anymore issues with those script do let me know. I plan on making an update this week to fix some bugs and this change will be included
 

Attachments

  • ItemUpgradePanel.cs
    11.7 KB · Views: 3
  • UpgradeMenu.cs
    7.6 KB · Views: 3
Top