diff options
Diffstat (limited to 'html/tower/js/game.js')
-rw-r--r-- | html/tower/js/game.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/html/tower/js/game.js b/html/tower/js/game.js index bcbbbb9..3549639 100644 --- a/html/tower/js/game.js +++ b/html/tower/js/game.js @@ -405,9 +405,11 @@ function populateTowerPalette() { towerOption.innerHTML = ` <div class="tower-preview" style="background: ${tower.color};"></div> - <div class="tower-name">${tower.name}</div> - <div class="tower-cost">$${tower.cost}</div> - <div class="tower-ammo">Ammo: ${tower.maxAmmo}</div> + <div class="tower-info"> + <div class="tower-name">${tower.name}</div> + <div class="tower-cost">Cost: $${tower.cost}</div> + <div class="tower-ammo">Ammo: ${tower.maxAmmo}</div> + </div> `; palette.appendChild(towerOption); |