1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 17:52:56 +08:00

Move LoadComplete content to run after user retrieval has completed

Feels safer, I think.
This commit is contained in:
Dean Herbert 2021-07-05 21:35:36 +09:00
parent 459f9a0465
commit f1014af284

View File

@ -71,13 +71,13 @@ namespace osu.Game.Screens.Play.HUD
UserScores[user.Id] = trackedUser;
}
prepareDataStreams();
}));
}
protected override void LoadComplete()
private void prepareDataStreams()
{
base.LoadComplete();
// BindableList handles binding in a really bad way (Clear then AddRange) so we need to do this manually..
foreach (int userId in playingUsers)
{