From 8215a16c2718e11f92025788a39bee6f34ada681 Mon Sep 17 00:00:00 2001 From: "Mr.Crowley" Date: Wed, 10 Sep 2025 17:43:18 -0500 Subject: [PATCH] Add deprecated args field to Point.Register Introduces a self.args field to the Point.Register function, marked as deprecated for future removal 2025-09-10. This change preserves compatibility for code relying on the args property. --- lib/points/client/points.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/points/client/points.lua b/lib/points/client/points.lua index 97e7ceb..73b298c 100644 --- a/lib/points/client/points.lua +++ b/lib/points/client/points.lua @@ -99,6 +99,7 @@ function Point.Register(id, target, distance, args, _onEnter, _onExit, _onUpdate self.onExit = _onExit or function() end self.onUpdate = _onUpdate or function() end self.inside = false -- Track if player is inside + self.args = args or {} --DEPRICATED 2025-09-10 local grid = Grid.GetCellByCoords(coords) grid[id] = self Point.All[id] = self