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

This commit is contained in:
Aaron
2025-03-16 14:35:30 +11:00
committed by GitHub
parent 7efcc5c92d
commit f5396edc78
+4
View File
@@ -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