mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(imports/points): incorrect var ref
Them feels when you forget to push a commit before making a release.
This commit is contained in:
@@ -32,7 +32,7 @@ CreateThread(function()
|
|||||||
if distance <= point.distance then
|
if distance <= point.distance then
|
||||||
point.currentDistance = distance
|
point.currentDistance = distance
|
||||||
|
|
||||||
if point.inside then
|
if point.nearby then
|
||||||
nearby[#nearby + 1] = point
|
nearby[#nearby + 1] = point
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ CreateThread(function()
|
|||||||
while true do
|
while true do
|
||||||
Wait(0)
|
Wait(0)
|
||||||
for i = 1, #nearby do
|
for i = 1, #nearby do
|
||||||
nearby[i]:inside()
|
nearby[i]:nearby()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user