默认头像修改
parent
6f0b87c858
commit
75a8cade8b
|
@ -1363,7 +1363,7 @@ end
|
|||
|
||||
--- 获取玩家头像框资源
|
||||
function GetPlayerHeadFrameSprite(frameId)
|
||||
if frameId == 0 then frameId = 80001 end
|
||||
if frameId == 0 then frameId = 80000 end
|
||||
local frame = ConfigManager.GetConfigData(ConfigName.ItemConfig, frameId)
|
||||
return Util.LoadSprite(GetResourcePath(frame.ResourceID))
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue