mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
use Length instead of Count()
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user