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
1 changed files with 3 additions and 3 deletions

View File

@ -680,12 +680,12 @@ private void updateCompletionState(bool skipStoryboardOutro = false)
// 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();