mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:02:58 +08:00
Merge pull request #12204 from ilsubyeega/drawavatar-use-avatar-url
Use avatar_url from user first instead of a.ppy.sh in DrawableAvatar
This commit is contained in:
commit
d1110d00a0
@ -31,7 +31,7 @@ namespace osu.Game.Users.Drawables
|
|||||||
private void load(LargeTextureStore textures)
|
private void load(LargeTextureStore textures)
|
||||||
{
|
{
|
||||||
if (user != null && user.Id > 1)
|
if (user != null && user.Id > 1)
|
||||||
Texture = textures.Get($@"https://a.ppy.sh/{user.Id}");
|
Texture = textures.Get(user.AvatarUrl);
|
||||||
|
|
||||||
Texture ??= textures.Get(@"Online/avatar-guest");
|
Texture ??= textures.Get(@"Online/avatar-guest");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user