change DrawableProfileScore and DrawableProfileWeightedScore to take SoloScoreInfo and APIBeatmap instead of APIScore

This commit is contained in:
tsunyoku
2022-07-17 14:08:04 +01:00
parent 1f288157f4
commit e8d88e29c6
2 changed files with 9 additions and 7 deletions

View File

@ -18,8 +18,8 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
{
private readonly double weight;
public DrawableProfileWeightedScore(APIScore score, double weight)
: base(score)
public DrawableProfileWeightedScore(SoloScoreInfo score, APIBeatmap beatmap, double weight)
: base(score, beatmap)
{
this.weight = weight;
}