diff --git a/Moose Development/Moose/Core/Set.lua b/Moose Development/Moose/Core/Set.lua index 2ba9c7996..5c886ed7d 100644 --- a/Moose Development/Moose/Core/Set.lua +++ b/Moose Development/Moose/Core/Set.lua @@ -2107,16 +2107,19 @@ do if group and group:IsAlive() and (Coalitions==nil or UTILS.IsAnyInTable(Coalitions, group:GetCoalition())) then - local coord=group:GetCoord() + local coord=group:GetCoordinate() - -- Distance between ref. coordinate and group coordinate. - local d=UTILS.VecDist3D(Coordinate, coord) - - if d