Skip to content

Commit

Permalink
Fix accessing incorrect items list in event
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Feb 18, 2020
1 parent b7849dd commit a1bfb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Rulesets/Objects/SliderPath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public SliderPath()
break;

case NotifyCollectionChangedAction.Remove:
foreach (var c in args.NewItems.Cast<PathControlPoint>())
foreach (var c in args.OldItems.Cast<PathControlPoint>())
c.Changed -= invalidate;
break;
}
Expand Down

0 comments on commit a1bfb18

Please sign in to comment.