mirror of
https://github.com/ppy/osu
synced 2025-02-04 04:11:54 +00:00
Simplify inequality
This commit is contained in:
parent
c8fb49d540
commit
2d66423fbd
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user