1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 06:31:19 +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:
Dean Herbert
2021-06-03 20:13:14 +09:00
committed by GitHub
Unverified
+1 -1
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");
}