mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Remove pointless flag
This commit is contained in:
parent
6a151b8e75
commit
da97a02e66
@ -30,8 +30,6 @@ namespace osu.Game.Overlays.Dashboard.Friends
|
||||
|
||||
users = value;
|
||||
|
||||
usersLoaded = true;
|
||||
|
||||
OnlineStatusControl.Populate(value);
|
||||
}
|
||||
}
|
||||
@ -148,8 +146,6 @@ namespace osu.Game.Overlays.Dashboard.Friends
|
||||
controlBackground.Colour = colourProvider.Background5;
|
||||
}
|
||||
|
||||
private bool usersLoaded;
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
@ -168,8 +164,7 @@ namespace osu.Game.Overlays.Dashboard.Friends
|
||||
|
||||
private void recreatePanels()
|
||||
{
|
||||
// Don't allow any changes until we have users loaded
|
||||
if (!usersLoaded)
|
||||
if (!users.Any())
|
||||
return;
|
||||
|
||||
cancellationToken?.Cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user