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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user