fix(zones): trigger onExit when teleporting away from zones (#732)

This commit is contained in:
Aaron
2025-03-16 03:35:30 +00:00
committed by GitHub
parent 7efcc5c92d
commit f5396edc78

View File

@@ -137,6 +137,10 @@ CreateThread(function()
if not contains then if not contains then
zone.insideZone = false zone.insideZone = false
insideZones[zone.id] = nil insideZones[zone.id] = nil
if zone.onExit then
exitingZones:push(zone)
end
end end
end end
end end