mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 20:22:56 +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:
parent
800b5ca8a9
commit
82c9704550
@ -58,17 +58,8 @@ 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);
|
||||
}
|
||||
if (user?.Id > 1 || !string.IsNullOrEmpty(user?.Username))
|
||||
game?.ShowUser(user, ruleset);
|
||||
}
|
||||
|
||||
protected override bool OnClick(ClickEvent e)
|
||||
|
Loading…
Reference in New Issue
Block a user