Unstable 0.1500.7.0 (No edition)
This commit is contained in:
@@ -633,7 +633,12 @@ namespace Barotrauma
|
||||
{
|
||||
if (string.IsNullOrEmpty(path)) { return ""; }
|
||||
|
||||
path = path.Replace('\\', '/');
|
||||
path = path
|
||||
.Replace('\\', '/');
|
||||
if (path.StartsWith("file:", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
path = path.Substring("file:".Length);
|
||||
}
|
||||
while (path.IndexOf("//") >= 0)
|
||||
{
|
||||
path = path.Replace("//", "/");
|
||||
|
||||
Reference in New Issue
Block a user