mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Simplify expression.
This commit is contained in:
@ -92,8 +92,6 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
|
||||
index = ~index;
|
||||
|
||||
if (index == list.Count)
|
||||
return list[list.Count - 1];
|
||||
return list[index - 1];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user