ui revamp

This commit is contained in:
2026-05-01 22:32:52 +03:00
parent a572feef14
commit 614029e527
4 changed files with 170 additions and 111 deletions

View File

@@ -97,8 +97,8 @@ window.sendCommand = async function() {
const town = window.getSelectedTown();
if (!town) return alert('Select a town first.');
const type = document.getElementById('cmd-type').value;
if (!type) return alert('Παρακαλώ επιλέξτε Ενέργεια (Command Type) πρώτα.');
const type = window.currentCmdType;
if (!type) return alert('Παρακαλώ επιλέξτε Ενέργεια (Κατασκευή/Στρατός/Παζάρι/Έρευνα) πρώτα.');
let payload = {};