Update framework and add "Async" suffix to asynchronous methods

This commit is contained in:
Thomas Müller
2017-02-23 22:32:10 +01:00
parent c3ab467e24
commit 2689de0c0c
21 changed files with 35 additions and 35 deletions

View File

@ -122,7 +122,7 @@ namespace osu.Game.Screens.Select
{
BeatmapInfo = carousel.SelectedGroup.SelectedPanel.Beatmap,
PreferredPlayMode = playMode.Value
})).Preload(Game, l => Push(player));
})).LoadAsync(Game, l => Push(player));
}
}
};
@ -340,7 +340,7 @@ namespace osu.Game.Screens.Select
//for the time being, let's completely load the difficulty panels in the background.
//this likely won't scale so well, but allows us to completely async the loading flow.
Task.WhenAll(group.BeatmapPanels.Select(panel => panel.Preload(game))).ContinueWith(task => Schedule(delegate
Task.WhenAll(group.BeatmapPanels.Select(panel => panel.LoadAsync(game))).ContinueWith(task => Schedule(delegate
{
beatmapGroups.Add(group);