v2.5.0: fixed WndUpgrade re-showing on items with upgrade caps
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user