1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 10:33:22 +08:00

Merge pull request #8374 from uzervlad/patch-1

Don't open profile if it's Autoplay
This commit is contained in:
Dean Herbert 2020-03-20 23:54:37 +09:00 committed by GitHub
commit 29775ae27e
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)
if (user?.Id > 1)
game?.ShowUser(user.Id);
}