Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit b20130c

Browse files
committed
fix(zones): ensure nearbyZones always updates
1 parent 28729d7 commit b20130c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

imports/zones/shared.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,12 @@ CreateThread(function()
141141
end
142142
end
143143

144-
nearbyZones = zones
145144
cache.lastCellX = cellX
146145
cache.lastCellY = cellY
147146
end
148147

148+
nearbyZones = zones
149+
149150
for i = 1, #zones do
150151
local zone = zones[i]
151152
local contains = zone:contains(coords, true)

0 commit comments

Comments
 (0)