mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-16 09:43:56 +00:00
fix(zones): trigger onExit when teleporting away from zones (#732)
This commit is contained in:
1 parent
7efcc5c92d
commit
f5396edc78
1 file changed
+4
@@ -137,6 +137,10 @@ CreateThread(function()
|
||||
if not contains then
|
||||
zone.insideZone = false
|
||||
insideZones[zone.id] = nil
|
||||
|
||||
if zone.onExit then
|
||||
exitingZones:push(zone)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user