1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00

Merge pull request #17166 from peppy/fix-realm-skin-dropdown-failure

Fix potential crash on rare incorrect firing of skin dropdown update methods
This commit is contained in:
Dan Balasescu 2022-03-09 01:46:31 +09:00 committed by GitHub
commit 74fe1e8e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,6 +134,9 @@ namespace osu.Game.Overlays.Settings.Sections
private void updateSelectedSkinFromConfig()
{
if (!skinDropdown.Items.Any())
return;
Live<SkinInfo> skin = null;
if (Guid.TryParse(configBindable.Value, out var configId))