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

Compare commits

...

2 Commits

Author SHA1 Message Date
Dan Balasescu
f1dceccffb
Merge pull request #8050 from peppy/fix-single-thread-result-freeze
Fix crash when reaching results screen on single threaded execution mode
2020-02-29 12:09:55 +09:00
Dean Herbert
f18a1cde53 Fix crash when reaching results screen on single threaded execution mode 2020-02-29 08:39:27 +09:00

View File

@ -609,9 +609,9 @@ namespace osu.Game.Screens.Play
{
var score = CreateScore();
if (DrawableRuleset.ReplayScore == null)
scoreManager.Import(score).Wait();
this.Push(CreateResults(score));
scoreManager.Import(score).ContinueWith(_ => Schedule(() => this.Push(CreateResults(score))));
else
this.Push(CreateResults(score));
});
}