Filename | |
---|---|
MapUtils.lua |
diff --git a/MapUtils.lua b/MapUtils.lua index e87063f..23cced8 100644 --- a/MapUtils.lua +++ b/MapUtils.lua @@ -40,7 +40,6 @@ function addon:GetVector(sm, sf, sx, sy, dm, df, dx, dy) if mapdata then local dist, xd, yd = mapdata:Distance(sm, sf, sx, sy, dx, dy) local angle = getDirection(xd, yd) - if dist and angle then return dist, angle end