1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Merge pull request #25768 from smoogipoo/reduce-song-select-allocs

Reduce some allocations in SongSelect in the mania ruleset
This commit is contained in:
Dean Herbert 2023-12-15 11:08:56 +09:00 committed by GitHub
commit 8a52c4f176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.