From 5361080eda9e45c1846a2f8d27025de3f0ecc7d2 Mon Sep 17 00:00:00 2001 From: KarmaUnderground <45380874+KarmaUnderground@users.noreply.github.com> Date: Fri, 30 Nov 2018 09:48:54 -0500 Subject: [PATCH] Fix the Hint displaying before the circle --- client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.lua b/client/main.lua index ad994a26..8bd6c552 100644 --- a/client/main.lua +++ b/client/main.lua @@ -364,7 +364,7 @@ Citizen.CreateThread(function() local zone = nil for k,v in pairs(Config.PublicZones) do - if GetDistanceBetweenCoords(coords, v.Pos.x, v.Pos.y, v.Pos.z, true) < v.Size.x then + if GetDistanceBetweenCoords(coords, v.Pos.x, v.Pos.y, v.Pos.z, true) < v.Size.x/2 then isInPublicMarker = true position = v.Teleport zone = v