fix broken cleanup of import folder in editor after failed import; #1012
This commit is contained in:
@@ -26,7 +26,7 @@ namespace OpenRA.FileFormats
|
|||||||
this.path = path;
|
this.path = path;
|
||||||
this.priority = priority;
|
this.priority = priority;
|
||||||
if (Directory.Exists(path))
|
if (Directory.Exists(path))
|
||||||
Directory.Delete(path);
|
Directory.Delete(path, true);
|
||||||
|
|
||||||
Write(contents);
|
Write(contents);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user