Added a filename case check to sprite loading
This commit is contained in:
@@ -62,6 +62,7 @@ namespace Barotrauma
|
|||||||
|
|
||||||
if (File.Exists(file))
|
if (File.Exists(file))
|
||||||
{
|
{
|
||||||
|
ToolBox.IsProperFilenameCase(file);
|
||||||
return TextureLoader.FromFile(file);
|
return TextureLoader.FromFile(file);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user