Implement solid territory supply system
This commit is contained in:
@@ -513,14 +513,16 @@ class GameUI {
|
||||
instruction.textContent = 'Select a cell with dice to move';
|
||||
}
|
||||
|
||||
// Update selected cell info
|
||||
// Update selected cell info - always show with placeholder if nothing selected
|
||||
const cellInfo = document.getElementById('selected-cell-info');
|
||||
cellInfo.style.display = 'block';
|
||||
|
||||
if (this.selectedCell) {
|
||||
cellInfo.style.display = 'block';
|
||||
document.getElementById('cell-strength').textContent = this.selectedCell.getStrength();
|
||||
document.getElementById('cell-dice').textContent = this.selectedCell.dice.length;
|
||||
} else {
|
||||
cellInfo.style.display = 'none';
|
||||
document.getElementById('cell-strength').textContent = '-';
|
||||
document.getElementById('cell-dice').textContent = '-';
|
||||
}
|
||||
|
||||
// Update buttons
|
||||
|
||||
Reference in New Issue
Block a user