mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 09:42:54 +08:00
Fix crash when reaching results screen on single threaded execution mode
This commit is contained in:
parent
7fdc274d03
commit
f18a1cde53
@ -609,8 +609,8 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
var score = CreateScore();
|
||||
if (DrawableRuleset.ReplayScore == null)
|
||||
scoreManager.Import(score).Wait();
|
||||
|
||||
scoreManager.Import(score).ContinueWith(_ => Schedule(() => this.Push(CreateResults(score))));
|
||||
else
|
||||
this.Push(CreateResults(score));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user