mirror of
https://github.com/ppy/osu.git
synced 2025-01-08 03:52:56 +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;
|
users = value;
|
||||||
|
|
||||||
usersLoaded = true;
|
|
||||||
|
|
||||||
OnlineStatusControl.Populate(value);
|
OnlineStatusControl.Populate(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -148,8 +146,6 @@ namespace osu.Game.Overlays.Dashboard.Friends
|
|||||||
controlBackground.Colour = colourProvider.Background5;
|
controlBackground.Colour = colourProvider.Background5;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool usersLoaded;
|
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
@ -168,8 +164,7 @@ namespace osu.Game.Overlays.Dashboard.Friends
|
|||||||
|
|
||||||
private void recreatePanels()
|
private void recreatePanels()
|
||||||
{
|
{
|
||||||
// Don't allow any changes until we have users loaded
|
if (!users.Any())
|
||||||
if (!usersLoaded)
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
cancellationToken?.Cancel();
|
cancellationToken?.Cancel();
|
||||||
|
Loading…
Reference in New Issue
Block a user