Better handle the passing of Beatmap and updating of scores.

PresentScores was dangerous as it could potentially bring up unsafe threading scenarios. This ensures everything will work well in all cases.
This commit is contained in:
Dean Herbert
2017-03-23 16:31:08 +09:00
parent a561611125
commit 3ae7d0cb98
2 changed files with 31 additions and 8 deletions

View File

@ -55,7 +55,7 @@ namespace osu.Game.Screens.Select
{
beatmap?.Mods.BindTo(modSelect.SelectedMods);
beatmapDetails.PresentScores(beatmap);
beatmapDetails.Beatmap = beatmap;
base.OnBeatmapChanged(beatmap);
}