1
0
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:
Shivam 2021-01-25 13:28:46 +01:00
parent 74310da7cf
commit ca08a19c40

View File

@ -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,