mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 01:38:52 +00:00
fix(legacy/server): Resolve an issue when setting default skin
This commit is contained in:
+1
-1
@@ -251,7 +251,7 @@ function loadESXPlayer(identifier, playerId, isNew)
|
||||
-- Skin
|
||||
if result[1].skin and result[1].skin ~= '' then
|
||||
userData.skin = json.decode(result[1].skin)
|
||||
elseif userData.sex then
|
||||
else
|
||||
if userData.sex == 'f' then userData.skin = {sex=1} else userData.skin = {sex=0} end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user