refactor(imports/points): rename point.callback to point.inside

This commit is contained in:
Linden
2022-03-25 10:41:48 +00:00
parent 3b18ca2b33
commit 500315ddaa
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ CreateThread(function()
if distance <= point.distance then
point.currentDistance = distance
if point.callback then
if point.inside then
nearby[#nearby + 1] = point
end
@@ -53,7 +53,7 @@ CreateThread(function()
while true do
Wait(0)
for i = 1, #nearby do
nearby[i]:callback()
nearby[i]:inside()
end
end
end)