mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 18:27:26 +08:00
Fix critical failure causing scores to not update on the leaderboard
This commit is contained in:
parent
0253d753af
commit
f5ddd2a53b
@ -71,11 +71,19 @@ namespace osu.Game.Screens.Play.HUD
|
||||
|
||||
UserScores[user.Id] = trackedUser;
|
||||
}
|
||||
|
||||
prepareDataStreams();
|
||||
}));
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
// this is *required* to be here due to the spectator leaderboard not correctly populating clocks if done later.
|
||||
// note that running this here is probably not 100% correct (if a user quits before user population occurs for instance,
|
||||
// an incorrect state will be reached).
|
||||
prepareDataStreams();
|
||||
}
|
||||
|
||||
private void prepareDataStreams()
|
||||
{
|
||||
// BindableList handles binding in a really bad way (Clear then AddRange) so we need to do this manually..
|
||||
|
Loading…
Reference in New Issue
Block a user