Merge pull request #65 from KarmaUnderground/patch-1

Fix the Hint displaying before the circle
This commit is contained in:
Samuel
2018-11-30 19:30:47 +01:00
committed by GitHub
+1 -1
View File
@@ -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