1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-01 06:19:54 +08:00

use Length instead of Count()

This commit is contained in:
Jorolf
2017-07-02 13:33:42 +02:00
Unverified
parent c9784f57d3
commit 5df33ad2d7
+1 -1
View File
@@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Mods
public void SelectNext()
{
(++SelectedIndex == Mods.Count() ? sampleOff : sampleOn).Play();
(++SelectedIndex == Mods.Length ? sampleOff : sampleOn).Play();
Action?.Invoke(SelectedMod);
}