Removed case check from CharacterInfo because it corrects itself

Just make sure to not get the directory casing wrong and we'll be good
This commit is contained in:
juanjp600
2016-11-10 21:58:35 -03:00
parent 62d79aff03
commit 392bc13258
@@ -183,8 +183,7 @@ namespace Barotrauma
spritePath = spritePath.Replace("[GENDER]", (this.gender == Gender.Female) ? "f" : "");
spritePath = spritePath.Replace("[HEADID]", HeadSpriteId.ToString());
ToolBox.IsProperFilenameCase(spritePath);
string fileName = Path.GetFileNameWithoutExtension(spritePath);
//go through the files in the directory to find a matching sprite