From 500fe37ac476b845dee3fdf33a8ac808eebd044d Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Sun, 28 Jul 2024 12:42:34 +0200 Subject: [PATCH] SET --- Moose Development/Moose/Core/Set.lua | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) 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