fix(client/vehicleProperties): livery getter

This commit is contained in:
Linden
2022-09-22 14:59:26 +10:00
parent 0014dfbe1f
commit 5c028759f3

View File

@@ -115,14 +115,10 @@ function lib.getVehicleProperties(vehicle)
end end
end end
local modLivery = GetVehicleMod(vehicle, 48) local modLivery = GetVehicleLivery(vehicle)
if modLivery == -1 then if modLivery == -1 then
local modLivery2 = GetVehicleLivery(vehicle) modLivery = GetVehicleMod(vehicle, 48)
if modLivery2 ~= 0 then
modLivery = modLivery2
end
end end
local damage = { local damage = {