Skip to content

Commit

Permalink
fix(es_extended/client/functions): properly call SetVehicleExtra
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Nov 30, 2024
1 parent ac95463 commit 1dca6fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ function ESX.Game.SetVehicleProperties(vehicle, props)
for extraId, enabled in pairs(props.extras) do
extraId = tonumber(extraId)
if extraId then
SetVehicleExtra(vehicle, extraId, enabled)
SetVehicleExtra(vehicle, extraId, not enabled)
end
end
end
Expand Down

0 comments on commit 1dca6fd

Please sign in to comment.