mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
refactor(imports/points): rename point.callback to point.inside
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user