Skip to content

Commit

Permalink
fix(imports): return coords getNearbyObjects and getNearbyVehicles
Browse files Browse the repository at this point in the history
  • Loading branch information
dolutattoo authored and thelindat committed Feb 3, 2023
1 parent 0ea6705 commit bd51fc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imports/getNearbyObjects/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function lib.getNearbyObjects(coords, maxDistance)
count += 1
nearby[count] = {
object = object,
coords = coords
coords = objectCoords
}
end
end
Expand Down
2 changes: 1 addition & 1 deletion imports/getNearbyVehicles/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function lib.getNearbyVehicles(coords, maxDistance, includePlayerVehicle)
count += 1
nearby[count] = {
vehicle = vehicle,
coords = coords
coords = vehicleCoords
}
end
end
Expand Down

0 comments on commit bd51fc7

Please sign in to comment.