diff --git a/RecrownedAthenaeum/UI/SkinSystem/Skin.cs b/RecrownedAthenaeum/UI/SkinSystem/Skin.cs index 6e2a464..d42d8f0 100644 --- a/RecrownedAthenaeum/UI/SkinSystem/Skin.cs +++ b/RecrownedAthenaeum/UI/SkinSystem/Skin.cs @@ -50,7 +50,7 @@ namespace RecrownedAthenaeum.UI.SkinSystem /// The region corresponding to the name or null if the requested region doesn't exist. public virtual TextureAtlas.Region GetTextureAtlasRegion(string name) { - if (name != null || !textureAtlas.ContainsRegion(name)) return null; + if (name == null || !textureAtlas.ContainsRegion(name)) return null; return textureAtlas[name]; }