librange: transform module to library

This commit is contained in:
shagu
2018-06-01 20:58:49 +02:00
parent 924b2a351e
commit 4a0e327867
4 changed files with 188 additions and 175 deletions
+1 -3
View File
@@ -27,10 +27,8 @@ function pfUI.api.UnitInRange(unit)
return nil
elseif CheckInteractDistance(unit, 4) then
return 1
elseif pfUI.rangecheck then
return pfUI.rangecheck:UnitInSpellRange(unit)
else
return nil
return librange:UnitInSpellRange(unit)
end
end