Skip to content

Commit

Permalink
fix(imports/points): incorrect var ref
Browse files Browse the repository at this point in the history
Them feels when you forget to push a commit before making a release.
  • Loading branch information
thelindat committed Mar 25, 2022
1 parent 500315d commit c2bfb83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imports/points/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CreateThread(function()
if distance <= point.distance then
point.currentDistance = distance

if point.inside then
if point.nearby then
nearby[#nearby + 1] = point
end

Expand All @@ -53,7 +53,7 @@ CreateThread(function()
while true do
Wait(0)
for i = 1, #nearby do
nearby[i]:inside()
nearby[i]:nearby()
end
end
end)
Expand Down

0 comments on commit c2bfb83

Please sign in to comment.