mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(imports/getClosestPed): correct variable name (#348)
This commit is contained in:
@@ -16,7 +16,7 @@ function lib.getClosestPed(coords, maxDistance)
|
|||||||
|
|
||||||
if distance < maxDistance then
|
if distance < maxDistance then
|
||||||
maxDistance = distance
|
maxDistance = distance
|
||||||
closestObject = ped
|
closestPed = ped
|
||||||
closestCoords = pedCoords
|
closestCoords = pedCoords
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user