v2.5.0: fixed WndUpgrade re-showing on items with upgrade caps

This commit is contained in:
Evan Debenham
2024-08-29 14:29:35 -04:00
parent f81f32297e
commit 3643145a8a

View File

@@ -417,7 +417,7 @@ public class WndUpgrade extends Window {
hide();
if (moreUpgradeItem != null){
if (moreUpgradeItem != null && toUpgrade.isUpgradable()){
GameScene.show(new WndUpgrade(moreUpgradeItem, upgraded, false));
}
}