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:
parent
98a83722ff
commit
67c1c4c1eb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user