From e4a0fff93182f29fc3f7017990d476bdc0eac6f4 Mon Sep 17 00:00:00 2001 From: FullGas1 <51051389+FullGas1@users.noreply.github.com> Date: Sun, 20 Apr 2025 12:38:18 +0200 Subject: [PATCH] debug --- CTLD.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CTLD.lua b/CTLD.lua index 975d067..8ba1a4f 100644 --- a/CTLD.lua +++ b/CTLD.lua @@ -7772,7 +7772,7 @@ function ctld.getNearestWP(_referenceUnitName) local WP = 0 local memoDist = nil -- Lower distance checked local refGroupName = Unit.getByName(_referenceUnitName):getGroup():getName() - local JTACRoute = mist.getGroupRoute (refGroupName, true) -- get the initial editor route of the current group + local JTACRoute = mist.getGroupRoute(refGroupName, true) -- get the initial editor route of the current group if Unit.getByName(_referenceUnitName) ~= nil then --JTAC et unit must exist for i=1, #JTACRoute do local ptWP = {x = JTACRoute[i].x, y = JTACRoute[i].y}