Refactor initial state

This commit is contained in:
smoogipoo
2020-05-21 20:48:25 +09:00
parent 7b82a5d792
commit d0f74c2b68
3 changed files with 58 additions and 47 deletions

View File

@ -63,7 +63,7 @@ namespace osu.Game.Screens.Ranking
{
new ResultsScrollContainer
{
Child = panels = new ScorePanelList
Child = panels = new ScorePanelList(Score)
{
RelativeSizeAxes = Axes.Both,
}
@ -98,8 +98,6 @@ namespace osu.Game.Screens.Ranking
}
};
panels.AddScore(Score);
if (player != null && allowRetry)
{
buttons.Add(new RetryButton { Width = 300 });