Move score preparations back below ShowResults check

This commit is contained in:
Bartłomiej Dach 2021-06-17 19:04:52 +02:00
parent 3a1444e75d
commit f282326f9a

View File

@ -680,12 +680,12 @@ namespace osu.Game.Screens.Play
// Ensure we are not writing to the replay any more, as we are about to consume and store the score.
DrawableRuleset.SetRecordTarget(null);
// Asynchronously run score preparation operations (database import, online submission etc.).
prepareScoreForDisplayTask ??= Task.Run(prepareScoreForResults);
if (!Configuration.ShowResults)
return;
// Asynchronously run score preparation operations (database import, online submission etc.).
prepareScoreForDisplayTask ??= Task.Run(prepareScoreForResults);
if (skipStoryboardOutro)
{
scheduleCompletion();