Skip to content

Commit

Permalink
fix(imports/getClosestPed): correct variable name (overextended#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Randolio authored Jun 12, 2023
1 parent 1f76590 commit 0a3edcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/getClosestPed/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function lib.getClosestPed(coords, maxDistance)

if distance < maxDistance then
maxDistance = distance
closestObject = ped
closestPed = ped
closestCoords = pedCoords
end
end
Expand Down

0 comments on commit 0a3edcb

Please sign in to comment.