mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Change DrawableProfileScore
to use APIScoreInfo
This commit is contained in:
@ -69,10 +69,10 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
switch (type)
|
||||
{
|
||||
default:
|
||||
return new DrawableProfileScore(model.CreateScoreInfo(Rulesets));
|
||||
return new DrawableProfileScore(model);
|
||||
|
||||
case ScoreType.Best:
|
||||
return new DrawableProfileWeightedScore(model.CreateScoreInfo(Rulesets), Math.Pow(0.95, drawableItemIndex++));
|
||||
return new DrawableProfileWeightedScore(model, Math.Pow(0.95, drawableItemIndex++));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user