Skip to content

Commit

Permalink
fix: linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
mafewtm authored and ChatDisabled committed Jan 16, 2024
1 parent 5999931 commit 78724e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ local function checkPlayers(vehicle, garageInfo)
local seat = GetPedInVehicleSeat(vehicle, i)
if seat then
TaskLeaveVehicle(seat, vehicle, 0)
if garage then
if garageInfo then
SetEntityCoords(seat, garageInfo.coords.x, garageInfo.coords.y, garageInfo.coords.z, false, false, false, true)
end
end
Expand Down

0 comments on commit 78724e1

Please sign in to comment.