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:
Dean Herbert
2021-06-03 20:13:14 +09:00
committed by GitHub

View File

@ -31,7 +31,7 @@ namespace osu.Game.Users.Drawables
private void load(LargeTextureStore textures)
{
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");
}