diff --git a/RecrownedAthenaeum/UI/Skin/MergedSkin.cs b/RecrownedAthenaeum/UI/Skin/MergedSkin.cs index 99cfd56..b333335 100644 --- a/RecrownedAthenaeum/UI/Skin/MergedSkin.cs +++ b/RecrownedAthenaeum/UI/Skin/MergedSkin.cs @@ -23,8 +23,13 @@ namespace RecrownedAthenaeum.UI.Skin { get { - if (mainSkin.CursorTexture != null) return mainSkin.CursorTexture; - return alternateSkin.CursorTexture; + try + { + return mainSkin.CursorTexture; + } catch (NullReferenceException) + { + return alternateSkin.CursorTexture; + } } } diff --git a/RecrownedAthenaeum/UI/Skin/SkinManager.cs b/RecrownedAthenaeum/UI/Skin/SkinManager.cs index 0531552..5eada23 100644 --- a/RecrownedAthenaeum/UI/Skin/SkinManager.cs +++ b/RecrownedAthenaeum/UI/Skin/SkinManager.cs @@ -76,7 +76,7 @@ namespace RecrownedAthenaeum.UI.Skin public ISkin loadedSkin { get { return mergedSkin.mainSkin; } private set { mergedSkin.mainSkin = value; } } /// - /// The fallback skin in case the selected skin doesn't cover a specific definition or color. + /// The default skin in case the selected skin doesn't cover a specific definition or color. /// public ISkin BaseSkin { get { return mergedSkin.alternateSkin; } set { mergedSkin.alternateSkin = value; } }