1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Reduce some allocations in SongSelect in the mania ruleset

This commit is contained in:
Dan Balasescu 2023-12-15 11:01:13 +09:00
parent 73c0a0ecb4
commit fbef40bb1f
No known key found for this signature in database

View File

@ -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.