1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:23:22 +08:00

Fix selection change event being invoked with wrong mod

This commit is contained in:
Bartłomiej Dach 2021-01-08 17:02:57 +01:00
parent c208800150
commit 0cf5be3ef4

View File

@ -103,7 +103,7 @@ namespace osu.Game.Overlays.Mods
foregroundIcon.Selected.Value = Selected; foregroundIcon.Selected.Value = Selected;
}); });
SelectionChanged?.Invoke(newSelection); SelectionChanged?.Invoke(SelectedMod);
return true; return true;
} }