This commit is contained in:
2026-04-28 23:08:35 +03:00
parent 53f1176ef8
commit 76ab83620b
4 changed files with 48 additions and 15 deletions

View File

@@ -9,6 +9,11 @@ window.onCmdTypeChange = function() {
document.getElementById('amount-group').style.display = type === 'recruit' ? '' : 'none';
document.getElementById('market-options').style.display = type === 'market_offer' ? '' : 'none';
document.getElementById('research-options').style.display = type === 'research' ? '' : 'none';
// Refresh market capacity label whenever market tab is opened
if (type === 'market_offer' && window.renderTownDetails) {
window.renderTownDetails();
}
};
// Building emoji icons for the visual grid