Allow null rank

This commit is contained in:
smoogipoo
2020-09-02 14:28:31 +09:00
parent 9e3b809cab
commit 7a6e02c558
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Screens.Multi.Match.Components
{
private readonly APIUserScoreAggregate score;
public MatchLeaderboardScore(APIUserScoreAggregate score, int rank, bool allowHighlight = true)
public MatchLeaderboardScore(APIUserScoreAggregate score, int? rank, bool allowHighlight = true)
: base(score.CreateScoreInfo(), rank, allowHighlight)
{
this.score = score;