From 52dc610c6c97f21fdd1090850bd34332ba05195e Mon Sep 17 00:00:00 2001 From: ItsANoBrainer Date: Mon, 28 Mar 2022 20:28:01 -0400 Subject: [PATCH] [Fix] Livery Mod Saving - Fixed bug where livery mod would not save if it was set to default --- client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/functions.lua b/client/functions.lua index a929b5a..c11c1ab 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -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