Update osu.Game/Users/Drawables/DrawableAvatar.cs

Co-Authored-By: Dean Herbert <pe@ppy.sh>
This commit is contained in:
OctopuSSX 2020-03-20 14:35:27 +03:00 committed by GitHub
parent b813c0aff1
commit 157f05c3e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ namespace osu.Game.Users.Drawables
if (!OpenOnClick.Value)
return;
if (user != null && user.Id != 1)
if (user?.Id > 1)
game?.ShowUser(user.Id);
}