mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 16:52:55 +08:00
Simplify expression.
This commit is contained in:
parent
7628cdf522
commit
462bbd02ba
@ -92,8 +92,6 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
|
||||
index = ~index;
|
||||
|
||||
if (index == list.Count)
|
||||
return list[list.Count - 1];
|
||||
return list[index - 1];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user