1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 16:52:55 +08:00

Simplify expression.

This commit is contained in:
smoogipooo 2017-05-24 01:38:28 +09:00
parent 7628cdf522
commit 462bbd02ba

View File

@ -92,8 +92,6 @@ namespace osu.Game.Beatmaps.ControlPoints
index = ~index;
if (index == list.Count)
return list[list.Count - 1];
return list[index - 1];
}
}