1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:42:56 +08:00

Move xmldoc to method

This commit is contained in:
Dean Herbert 2021-06-18 16:49:43 +09:00
parent 19507e107e
commit 0bc68a7018

View File

@ -679,7 +679,6 @@ namespace osu.Game.Screens.Play
if (!Configuration.ShowResults)
return;
// Asynchronously run score preparation operations (database import, online submission etc.).
prepareScoreForDisplayTask ??= Task.Run(prepareScoreForResults);
bool storyboardHasOutro = DimmableStoryboard.ContentDisplayed && !DimmableStoryboard.HasStoryboardEnded.Value;
@ -695,6 +694,10 @@ namespace osu.Game.Screens.Play
progressToResults(true);
}
/// <summary>
/// Asynchronously run score preparation operations (database import, online submission etc.).
/// </summary>
/// <returns>The final score.</returns>
private async Task<ScoreInfo> prepareScoreForResults()
{
try