1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 12:42:56 +08:00

Fix crash when reseting skin while in dropdown

This commit is contained in:
WebFreak001 2018-11-25 14:24:20 +01:00
parent edb45e4e47
commit 2b05a61806

View File

@ -83,7 +83,7 @@ namespace osu.Game.Overlays.Settings.Sections
if (v == random_skin_info)
randomizeSkin();
else
configBindable.Value = v.ID;
configBindable.Value = v?.ID ?? 0;
});
}