From 512d49a609dd8f6cb4c641c5b4526d92dcc7dad1 Mon Sep 17 00:00:00 2001 From: popeeyy <29686338+popeeyy@users.noreply.github.com> Date: Thu, 4 Apr 2024 14:44:31 -0700 Subject: [PATCH] Fix self table reference --- src/Zone/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Zone/init.lua b/src/Zone/init.lua index 62de930..0d0ebb4 100644 --- a/src/Zone/init.lua +++ b/src/Zone/init.lua @@ -635,7 +635,7 @@ end function Zone:_getAll(trackerName) ZoneController.updateDetection(self) local itemsArray = {} - local zonesAndOccupants = ZoneController._getZonesAndItems(trackerName, {self = true}, self.volume, false, self._currentEnterDetection) + local zonesAndOccupants = ZoneController._getZonesAndItems(trackerName, {[self] = true}, self.volume, false, self._currentEnterDetection) local occupantsDict = zonesAndOccupants[self] if occupantsDict then for item, _ in pairs(occupantsDict) do