ui revamp
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user