1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 02:43:19 +08:00

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];
button.SelectAt(index, false);
// as this is likely coming from an external change, ensure the settings of the mod are in sync.
buttonMod.CopyFrom(mod);
button.SelectAt(index, false);
return;
}