Skip to content

Commit

Permalink
fix(client/main): hash model names when passing classes to server
Browse files Browse the repository at this point in the history
  • Loading branch information
D4isDAVID committed Sep 18, 2024
1 parent 83812b9 commit a5c0292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ lib.callback.register('qbx_core:client:getVehicleClasses', function()
for i = 1, #models do
local model = models[i]
local class = GetVehicleClassFromName(model)
classes[model] = class
classes[joaat(model)] = class
end
return classes
end)

0 comments on commit a5c0292

Please sign in to comment.