Simplify inequality

This commit is contained in:
kamp 2020-11-17 23:04:38 +01:00
parent c8fb49d540
commit 2d66423fbd

View File

@ -101,7 +101,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
// If removing before the end of the path,
// update indices of connections after remove location
if (e.OldStartingIndex + e.OldItems.Count < Pieces.Count + e.OldItems.Count)
if (e.OldStartingIndex < Pieces.Count)
{
foreach (var connection in Connections)
{