Fix post-merge issues

This commit is contained in:
smoogipoo
2018-12-22 16:26:27 +09:00
parent c2a00b84c7
commit bb08bf10a0
9 changed files with 20 additions and 89 deletions

View File

@ -28,6 +28,7 @@ using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
using osu.Game.Scoring;
using osu.Game.Screens.Ranking;
using osu.Game.Skinning;
using osu.Game.Storyboards.Drawables;
@ -287,7 +288,7 @@ namespace osu.Game.Screens.Play
if (RulesetContainer.Replay == null)
scoreManager.Import(score, true);
Push(new SoloResults(score));
Push(CreateResults(score));
onCompletionEvent = null;
});
@ -431,5 +432,7 @@ namespace osu.Game.Screens.Play
if (storyboardVisible && beatmap.Storyboard.ReplacesBackground)
Background?.FadeTo(0, BACKGROUND_FADE_DURATION, Easing.OutQuint);
}
protected virtual Results CreateResults(ScoreInfo score) => new SoloResults(score);
}
}