fix #23
This commit is contained in:
parent
af2fd8a28b
commit
d0f5477a13
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue