Fixed the saving of liveries

This commit is contained in:
BerkieBb
2021-06-09 21:50:10 +02:00
committed by GitHub
parent aea2da246a
commit 0ee1186709
+2 -2
View File
@@ -403,7 +403,7 @@ QBCore.Functions.GetVehicleProperties = function(vehicle)
modTrimB = GetVehicleMod(vehicle, 44), modTrimB = GetVehicleMod(vehicle, 44),
modTank = GetVehicleMod(vehicle, 45), modTank = GetVehicleMod(vehicle, 45),
modWindows = GetVehicleMod(vehicle, 46), modWindows = GetVehicleMod(vehicle, 46),
modLivery = GetVehicleLivery(vehicle) modLivery = GetVehicleMod(vehicle, 48),
} }
else else
return return
@@ -681,4 +681,4 @@ QBCore.Functions.SetVehicleProperties = function(vehicle, props)
SetVehicleLivery(vehicle, props.modLivery) SetVehicleLivery(vehicle, props.modLivery)
end end
end end
end end