hopefully fix leakage

This commit is contained in:
Mycroft
2022-07-17 00:23:13 +01:00
parent 9447aa184d
commit a2eb9e3132
+3 -1
View File
@@ -126,12 +126,13 @@ CreateThread(function()
end
end)
local TextShown = false
-- Display markers
CreateThread(function()
while true do
local Sleep = 1500
local InShop = false
local TextShown = false
local CurrentShop = nil
local coords = GetEntityCoords(PlayerPedId())
@@ -147,6 +148,7 @@ CreateThread(function()
TextShown = true
end
else
TextShown = false
ESX.HideUI()
end
if IsControlJustReleased(0, 38) then