Fix CI issues + slight change

This commit is contained in:
KingLuigi4932
2019-06-17 22:33:27 +03:00
parent fec0db8fe1
commit d6a39b8a2a
4 changed files with 22 additions and 6 deletions

View File

@ -20,7 +20,10 @@ namespace osu.Game.Online.Leaderboards
set => Model = value;
}
public UpdateableRank(ScoreRank rank) => Rank = rank;
public UpdateableRank(ScoreRank rank)
{
Rank = rank;
}
protected override Drawable CreateDrawable(ScoreRank rank) => new DrawableRank(rank)
{
@ -33,9 +36,12 @@ namespace osu.Game.Online.Leaderboards
public class DrawableRank : Sprite
{
private ScoreRank rank;
private readonly ScoreRank rank;
public DrawableRank(ScoreRank rank) => this.rank = rank;
public DrawableRank(ScoreRank rank)
{
this.rank = rank;
}
[BackgroundDependencyLoader(true)]
private void load(TextureStore ts)