From 46836ffa509dbd40b1db25018e8322ba3c132628 Mon Sep 17 00:00:00 2001 From: rubin Date: Mon, 12 Dec 2022 20:52:33 +0300 Subject: [PATCH] fix ls-sf getKeyPoint --- TruckHUD.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TruckHUD.lua b/TruckHUD.lua index e21d5bd..1658f75 100755 --- a/TruckHUD.lua +++ b/TruckHUD.lua @@ -4317,7 +4317,7 @@ function getKeysPoint(x, y, z) local minDist, minResult = 1000000, "" local resX, resY, resZ = 0.0, 0.0, 0.0 for name, cord in pairs(location_keys) do - if not name:find("Аренда") and not name:find("Порт") then + if not name:find("ls") and not name:find("sf") then local distance = getDistanceBetweenCoords3d(x, y, z, cord.x, cord.y, cord.z) if distance < minDist then minDist = distance