mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 18:58:54 +00:00
fix canSleep variable
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ Citizen.CreateThread(function()
|
||||
|
||||
for k,v in pairs(Config.ATMLocations) do
|
||||
if GetDistanceBetweenCoords(coords, v.x, v.y, v.z, true) < 1.0 then
|
||||
isInATMMarker, canSleep = true, true
|
||||
isInATMMarker, canSleep = true, false
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user