mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Add extra level of nullabiliy checking because NRT is not present
This commit is contained in:
parent
b1a13286a3
commit
2dcc61caf5
@ -24,7 +24,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
{
|
||||
Clear(true);
|
||||
|
||||
if (user.NewValue != null)
|
||||
if (user.NewValue?.Groups != null)
|
||||
AddRange(user.NewValue.Groups.Select(g => new GroupBadge(g)));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user