fix #23
This commit is contained in:
@@ -823,7 +823,7 @@ local function GetAllUnits(unit, allUnits)
|
|||||||
end
|
end
|
||||||
return function()
|
return function()
|
||||||
local ret = unit .. i
|
local ret = unit .. i
|
||||||
while not allUnits and not UnitExistsFixed(ret) do
|
while not allUnits and not UnitExists(ret) do
|
||||||
i = i + 1
|
i = i + 1
|
||||||
if i > max then
|
if i > max then
|
||||||
i = 1
|
i = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user