1
0
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:
Andrei Zavatski 2020-03-17 01:53:53 +03:00
parent 6a151b8e75
commit da97a02e66

View File

@ -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();