Remove directory creation side effect from Platform.SupportDir.

This commit is contained in:
Paul Chote
2017-10-06 22:45:34 +01:00
committed by abcdefg30
parent 4bca0c4c24
commit f96c2710cd
2 changed files with 0 additions and 6 deletions

View File

@@ -123,9 +123,6 @@ namespace OpenRA
foreach (var source in sources.Distinct())
{
if (!Directory.Exists(source))
continue;
var metadataPath = Path.Combine(source, "ModMetadata");
try

View File

@@ -93,9 +93,6 @@ namespace OpenRA
break;
}
if (!Directory.Exists(dir))
Directory.CreateDirectory(dir);
return dir + Path.DirectorySeparatorChar;
}