[Fix] Livery Mod Saving

- Fixed bug where livery mod would not save if it was set to default
This commit is contained in:
ItsANoBrainer
2022-03-28 20:28:01 -04:00
parent 1dfdb46105
commit 52dc610c6c
+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