mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 09:27:18 +09: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;
|
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..
|
// BindableList handles binding in a really bad way (Clear then AddRange) so we need to do this manually..
|
||||||
foreach (int userId in playingUsers)
|
foreach (int userId in playingUsers)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user