Added check on repeated commands on scheduler

This commit is contained in:
Pax1601
2023-07-19 20:56:19 +02:00
parent cbb8920de7
commit 1d5f24dc1a
8 changed files with 50 additions and 48 deletions

View File

@@ -506,7 +506,7 @@ function Olympus.generateGroundUnitsTable(units)
["y"] = spawnLocation.z + value.dy,
["heading"] = 0,
["skill"] = "High",
["name"] = "GroundUnit-" .. Olympus.unitCounter .. "-" .. #unitTable + 1
["name"] = "Olympus-" .. Olympus.unitCounter .. "-" .. #unitTable + 1
}
end
else
@@ -517,7 +517,7 @@ function Olympus.generateGroundUnitsTable(units)
["y"] = spawnLocation.z,
["heading"] = 0,
["skill"] = "High",
["name"] = "GroundUnit-" .. Olympus.unitCounter .. "-" .. #unitTable + 1
["name"] = "Olympus-" .. Olympus.unitCounter .. "-" .. #unitTable + 1
}
end
end