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

Merge pull request #29068 from bdach/results-statistics-toggle-crash

Fix crash when toggling extended statistics visibility during results load
This commit is contained in:
Dean Herbert 2024-07-25 22:49:41 +09:00 committed by GitHub
commit c90e04092a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -398,7 +398,8 @@ namespace osu.Game.Screens.Ranking
break; break;
case GlobalAction.Select: case GlobalAction.Select:
StatisticsPanel.ToggleVisibility(); if (SelectedScore.Value != null)
StatisticsPanel.ToggleVisibility();
return true; return true;
} }