Unstable 0.1500.7.0 (No edition)

This commit is contained in:
Markus Isberg
2021-10-14 00:42:06 +09:00
parent c8943ef9c4
commit de917c5d74
105 changed files with 871 additions and 443 deletions
@@ -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("//", "/");