Merge branch 'master' into realm-move-data-migration-to-context-factory

This commit is contained in:
Dan Balasescu
2021-11-24 14:40:26 +09:00
committed by GitHub
23 changed files with 63 additions and 52 deletions

View File

@ -214,7 +214,7 @@ namespace osu.Game
SkinManager.ItemRemoved += item => Schedule(() =>
{
// check the removed skin is not the current user choice. if it is, switch back to default.
if (item.ID == SkinManager.CurrentSkinInfo.Value.ID)
if (item.Equals(SkinManager.CurrentSkinInfo.Value))
SkinManager.CurrentSkinInfo.Value = SkinInfo.Default;
});