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:
parent
459f9a0465
commit
f1014af284
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user