This commit is contained in:
ElPumpo
2020-02-12 11:35:07 +01:00
parent dae665f77a
commit c5da295ed6
+6
View File
@@ -171,6 +171,12 @@ function OpenShopMenu()
end
end
for k,v in pairs(vehiclesByCategory) do
table.sort(v, function(a, b)
return a.name < b.name
end)
end
for i=1, #Categories, 1 do
local category = Categories[i]
local categoryVehicles = vehiclesByCategory[category.name]