1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-07 15:32:58 +08:00

Fix bracket style

This commit is contained in:
Dean Herbert 2020-03-19 14:38:49 +09:00
parent 17c3455b36
commit 855f0a4253

View File

@ -626,13 +626,16 @@ namespace osu.Game.Screens.Play
completionProgressDelegate = Schedule(delegate completionProgressDelegate = Schedule(delegate
{ {
var score = CreateScore(); var score = CreateScore();
if (DrawableRuleset.ReplayScore == null) if (DrawableRuleset.ReplayScore == null)
{
scoreManager.Import(score).ContinueWith(_ => Schedule(() => scoreManager.Import(score).ContinueWith(_ => Schedule(() =>
{ {
// screen may be in the exiting transition phase. // screen may be in the exiting transition phase.
if (this.IsCurrentScreen()) if (this.IsCurrentScreen())
this.Push(CreateResults(score)); this.Push(CreateResults(score));
})); }));
}
else else
this.Push(CreateResults(score)); this.Push(CreateResults(score));
}); });