diff --git a/Moose Development/Moose/Core/Set.lua b/Moose Development/Moose/Core/Set.lua index 2ba9c7996..5e79318cb 100644 --- a/Moose Development/Moose/Core/Set.lua +++ b/Moose Development/Moose/Core/Set.lua @@ -2107,7 +2107,7 @@ 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)