mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 15:23:14 +08:00
Rename mod to modIcon
This commit is contained in:
parent
74310da7cf
commit
ca08a19c40
@ -42,9 +42,9 @@ namespace osu.Game.Tournament.Components
|
||||
}
|
||||
else
|
||||
{
|
||||
var mod = rulesets.GetRuleset(ladderInfo.Ruleset.Value.ID ?? 0).CreateInstance().GetAllMods().FirstOrDefault(mod => mod.Acronym == ModAcronym);
|
||||
var modIcon = rulesets.GetRuleset(ladderInfo.Ruleset.Value.ID ?? 0).CreateInstance().GetAllMods().FirstOrDefault(mod => mod.Acronym == ModAcronym);
|
||||
|
||||
AddInternal(new ModIcon(mod)
|
||||
AddInternal(new ModIcon(modIcon)
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
|
Loading…
Reference in New Issue
Block a user