mirror of
https://github.com/osukey/osukey.git
synced 2025-08-01 21:58:46 +09:00
Fix crash when reaching results screen on single threaded execution mode
This commit is contained in:
@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user