mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 13:33:21 +08:00
Update ModButton.cs
This commit is contained in:
parent
7960b5cf26
commit
e4b876ff5b
@ -189,7 +189,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
|
|
||||||
private void displayMod(Mod mod)
|
private void displayMod(Mod mod)
|
||||||
{
|
{
|
||||||
if(backgroundIcon != null)
|
if (backgroundIcon != null)
|
||||||
backgroundIcon.Icon = foregroundIcon.Icon;
|
backgroundIcon.Icon = foregroundIcon.Icon;
|
||||||
foregroundIcon.Icon = mod.Icon;
|
foregroundIcon.Icon = mod.Icon;
|
||||||
text.Text = mod.Name;
|
text.Text = mod.Name;
|
||||||
|
Loading…
Reference in New Issue
Block a user