mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Fixed #237
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user