Fixed bugs found in v0.0.2

This commit is contained in:
2025-05-01 21:53:54 +02:00
parent d16792064f
commit fc726cbb37
18 changed files with 737 additions and 694 deletions
+4
View File
@@ -303,6 +303,10 @@ do --setup route util
local group = Group.getByName(groupName)
local pos;
local i = 1
if group == nil then
return nil, "No group found for name " .. groupName
end
local units = group:getUnits()
while pos == nil and i <= Spearhead.Util.tableLength(units) do
local unit = units[i]