diff --git a/modules/ui/resources-editor.js b/modules/ui/resources-editor.js index 33069595..10483c2b 100644 --- a/modules/ui/resources-editor.js +++ b/modules/ui/resources-editor.js @@ -51,10 +51,10 @@ function editResources() { if (bonus === 'defence') return ``; if (bonus === 'prestige') return ``; if (bonus === 'artillery') return ``; - if (bonus === 'infantry') return ``; + if (bonus === 'infantry') return ``; if (bonus === 'population') return ``; if (bonus === 'archers') return ``; - if (bonus === 'cavalry') return ``; + if (bonus === 'cavalry') return ``; } // add line for each resource @@ -243,8 +243,9 @@ function editResources() { const bonuses = [...new Set(pack.resources.map((r) => Object.keys(r.bonus)).flat())].sort(); const inputs = bonuses.map( (bonus) => `
-
${capitalize(bonus)}
- + ${getBonusIcon(bonus)} +
${capitalize(bonus)}
+
` );