diff --git a/core/development/ui/UpgradeUI.ts b/core/development/ui/UpgradeUI.ts index c76dfe5..1d519a8 100644 --- a/core/development/ui/UpgradeUI.ts +++ b/core/development/ui/UpgradeUI.ts @@ -31,6 +31,7 @@ export function showUpgradeablePiecesElements( upgradeElement.innerHTML = upgradeablePiece.resource; upgradeElement.addEventListener('click', () => { upgradePiece(piece, upgradeablePiece); + showUpgradeablePiecesElements(upgradeablePiece, upgradeablePiece.upgrades); }); const upgradePriceElement = document.createElement('p');