Add support for position

This commit is contained in:
smoogipoo
2020-08-31 20:01:59 +09:00
parent 77698ec31e
commit 6ed191786f
2 changed files with 5 additions and 1 deletions

View File

@ -50,7 +50,7 @@ namespace osu.Game.Screens.Multi.Match.Components
protected override LeaderboardScore CreateDrawableScore(APIUserScoreAggregate model, int index) => new MatchLeaderboardScore(model, index);
protected override LeaderboardScore CreateDrawableTopScore(APIUserScoreAggregate model) => new MatchLeaderboardScore(model, 0);
protected override LeaderboardScore CreateDrawableTopScore(APIUserScoreAggregate model) => new MatchLeaderboardScore(model, model.Position ?? 0);
}
public enum MatchLeaderboardScope