mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Include mod settings in profile score mod icons
This commit is contained in:
parent
5875f53e07
commit
7e4ce89981
@ -138,7 +138,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
{
|
||||
var ruleset = rulesets.GetRuleset(Score.RulesetID) ?? throw new InvalidOperationException($"Ruleset with ID of {Score.RulesetID} not found locally");
|
||||
|
||||
return new ModIcon(ruleset.CreateInstance().CreateModFromAcronym(mod.Acronym))
|
||||
return new ModIcon(mod.ToMod(ruleset.CreateInstance()))
|
||||
{
|
||||
Scale = new Vector2(0.35f)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user