fix(es_extended/server/classes/vehicle): properly parse vehicleProps

This commit is contained in:
Kenshin13
2024-12-21 01:20:28 +01:00
parent 68508b96f0
commit 04ef04e207
@@ -35,7 +35,7 @@ Core.vehicleClass = {
if not vehicleProps then
return
end
vehicleProps = json.decode(vehicleProps.vehicle)
vehicleProps = json.decode(vehicleProps)
if type(vehicleProps.model) ~= "number" then
model = joaat(model)