Skip to content

Commit

Permalink
Update character.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Scullyy committed Apr 19, 2024
1 parent 8141569 commit cf13577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/character.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ local function previewPed(citizenId)
lib.requestModel(model, config.loadingModelsTimeout)
SetPlayerModel(cache.playerId, model)
pcall(function() exports['illenium-appearance']:setPedAppearance(PlayerPedId(), json.decode(clothing)) end)
SetModelAsNoLongerNeeded(ped.model)
SetModelAsNoLongerNeeded(model)
else
randomPed()
end
Expand Down

0 comments on commit cf13577

Please sign in to comment.