This commit is contained in:
2026-04-22 21:48:49 +03:00
parent a8c7512b67
commit 373bcc7a9c
3 changed files with 9 additions and 7 deletions

View File

@@ -162,9 +162,9 @@ window.renderTownDetails = function() {
`;
const mCap = resObj.market_capacity || 0;
document.getElementById('td-market').innerHTML = `
📦 Εμπορική Χωρητικότητα: <strong>${window.fmt(mCap)}</strong>
`;
document.getElementById('td-market').innerHTML = mCap > 0
? `📦 Εμπορική Χωρητικότητα: <strong>${window.fmt(mCap)}</strong>`
: '';
const godName = t.god ? t.god.charAt(0).toUpperCase() + t.god.slice(1) : 'Κανένας';
const seaStr = t.sea != null ? `Θ${t.sea}` : '—';