This commit is contained in:
Bunny67
2020-06-13 22:09:48 +03:00
parent af2fd8a28b
commit d0f5477a13
+1 -1
View File
@@ -823,7 +823,7 @@ local function GetAllUnits(unit, allUnits)
end
return function()
local ret = unit .. i
while not allUnits and not UnitExistsFixed(ret) do
while not allUnits and not UnitExists(ret) do
i = i + 1
if i > max then
i = 1