Copy settings before applying selection

This commit is contained in:
Dean Herbert
2021-02-10 15:30:17 +09:00
parent 98a83722ff
commit 67c1c4c1eb

View File

@ -198,10 +198,10 @@ namespace osu.Game.Overlays.Mods
var buttonMod = button.Mods[index]; var buttonMod = button.Mods[index];
button.SelectAt(index, false);
// as this is likely coming from an external change, ensure the settings of the mod are in sync. // as this is likely coming from an external change, ensure the settings of the mod are in sync.
buttonMod.CopyFrom(mod); buttonMod.CopyFrom(mod);
button.SelectAt(index, false);
return; return;
} }