mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 01:17:35 +09:00
Merge pull request #8050 from peppy/fix-single-thread-result-freeze
Fix crash when reaching results screen on single threaded execution mode
This commit is contained in:
commit
f1dceccffb
@ -609,9 +609,9 @@ namespace osu.Game.Screens.Play
|
|||||||
{
|
{
|
||||||
var score = CreateScore();
|
var score = CreateScore();
|
||||||
if (DrawableRuleset.ReplayScore == null)
|
if (DrawableRuleset.ReplayScore == null)
|
||||||
scoreManager.Import(score).Wait();
|
scoreManager.Import(score).ContinueWith(_ => Schedule(() => this.Push(CreateResults(score))));
|
||||||
|
else
|
||||||
this.Push(CreateResults(score));
|
this.Push(CreateResults(score));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user