1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-06 22:33:13 +08:00

Update osu.Game/Users/Drawables/ClickableAvatar.cs agatemosu's review change request

Co-authored-by: Agatem <agaatem@outlook.com>
This commit is contained in:
Ian Lucht 2025-01-29 08:48:56 -07:00 committed by GitHub
parent 800b5ca8a9
commit 82c9704550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,19 +57,10 @@ namespace osu.Game.Users.Drawables
}
private void openProfile()
{
if (ruleset != null)
{
if (user?.Id > 1 || !string.IsNullOrEmpty(user?.Username))
{
game?.ShowUser(user, ruleset);
}
}
else if (user?.Id > 1 || !string.IsNullOrEmpty(user?.Username))
{
game?.ShowUser(user);
}
}
protected override bool OnClick(ClickEvent e)
{