mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 07:19:54 +08:00
Fix individual control points not being removed from group when group is removed
This commit is contained in:
@@ -158,6 +158,9 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
|
||||
public void RemoveGroup(ControlPointGroup group)
|
||||
{
|
||||
foreach (var item in group.ControlPoints.ToArray())
|
||||
group.Remove(item);
|
||||
|
||||
group.ItemAdded -= groupItemAdded;
|
||||
group.ItemRemoved -= groupItemRemoved;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user