Update main.lua

Fixes an issue where there's only 1 upgrade level on some cars
This commit is contained in:
gdanbo
2020-08-15 15:40:14 +02:00
committed by GitHub
parent 011a548e74
commit 149e69cdf4
+1
View File
@@ -299,6 +299,7 @@ function GetAction(data)
end
end
elseif v.modType == 11 or v.modType == 12 or v.modType == 13 or v.modType == 15 or v.modType == 16 then
SetVehicleModKit(vehicle, 0)
local modCount = GetNumVehicleMods(vehicle, v.modType) -- UPGRADES
for j = 0, modCount, 1 do
local _label = ''