From 0a3edcbe4d65f23b1eb1ff0f698606c3950c6348 Mon Sep 17 00:00:00 2001 From: Randolio <103154494+Randolio@users.noreply.github.com> Date: Mon, 12 Jun 2023 19:51:20 +0100 Subject: [PATCH] fix(imports/getClosestPed): correct variable name (#348) --- imports/getClosestPed/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/getClosestPed/client.lua b/imports/getClosestPed/client.lua index bbde2e9fb..38e6053f2 100644 --- a/imports/getClosestPed/client.lua +++ b/imports/getClosestPed/client.lua @@ -16,7 +16,7 @@ function lib.getClosestPed(coords, maxDistance) if distance < maxDistance then maxDistance = distance - closestObject = ped + closestPed = ped closestCoords = pedCoords end end