mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 08:30:00 +08:00
Reduce some allocations in SongSelect in the mania ruleset
This commit is contained in:
@@ -245,6 +245,9 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
|
||||
private void updateKeyCount()
|
||||
{
|
||||
if (Item?.State.Value == CarouselItemState.Collapsed)
|
||||
return;
|
||||
|
||||
if (ruleset.Value.OnlineID == 3)
|
||||
{
|
||||
// Account for mania differences locally for now.
|
||||
|
||||
Reference in New Issue
Block a user