1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00
This commit is contained in:
Dean Herbert 2018-02-23 14:27:53 +09:00
parent ff75cf6b75
commit 0e20c4e6bb

View File

@ -63,7 +63,7 @@ namespace osu.Game.Skinning
CurrentSkin.ValueChanged += skin =>
{
if (skin.SkinInfo != CurrentSkinInfo.Value)
throw new InvalidOperationException($"Setting {nameof(CurrentSkin)}'s value directly is not supported. Use {nameof(CurrentSkinInfo)} isntead.");
throw new InvalidOperationException($"Setting {nameof(CurrentSkin)}'s value directly is not supported. Use {nameof(CurrentSkinInfo)} instead.");
};
}