mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 03:02:56 +08:00
condition fix
This commit is contained in:
parent
735b48679e
commit
9dd30e4b4c
@ -210,9 +210,9 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
{
|
||||
guestMapperContainer.Clear();
|
||||
|
||||
if (beatmapInfo != null && beatmapInfo.AuthorID != beatmapSet?.AuthorID)
|
||||
if (beatmapInfo?.AuthorID != beatmapSet?.AuthorID)
|
||||
{
|
||||
APIUser? user = BeatmapSet?.RelatedUsers?.Single(u => u.OnlineID == beatmapInfo.AuthorID);
|
||||
APIUser? user = BeatmapSet?.RelatedUsers?.SingleOrDefault(u => u.OnlineID == beatmapInfo?.AuthorID);
|
||||
if (user != null)
|
||||
getGuestMapper(user);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user