Merge pull request #597 from ItsANoBrainer/dev3-FixingEveryonElsesProblems

[Fix] Livery Mod Saving
This commit is contained in:
Kakarot
2022-03-28 18:32:37 -06:00
committed by GitHub
+1 -1
View File
@@ -450,7 +450,7 @@ function QBCore.Functions.GetVehicleProperties(vehicle)
end
local modLivery = GetVehicleMod(vehicle, 48)
if GetVehicleMod(vehicle, 48) == -1 and GetVehicleLivery(vehicle) ~= -1 then
if GetVehicleMod(vehicle, 48) == -1 and GetVehicleLivery(vehicle) ~= 0 then
modLivery = GetVehicleLivery(vehicle)
end