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

This commit is contained in:
Aaron authored and GitHub committed 2025-03-16 14:35:30 +11:00
1 parent 7efcc5c92d
commit f5396edc78
1 file changed
+4
+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