mirror of
https://github.com/ppy/osu.git
synced 2026-05-29 06:49:53 +08:00
Fix accessing incorrect items list in event
This commit is contained in:
@@ -58,7 +58,7 @@ namespace osu.Game.Rulesets.Objects
|
||||
break;
|
||||
|
||||
case NotifyCollectionChangedAction.Remove:
|
||||
foreach (var c in args.NewItems.Cast<PathControlPoint>())
|
||||
foreach (var c in args.OldItems.Cast<PathControlPoint>())
|
||||
c.Changed -= invalidate;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user