fix broken cleanup of import folder in editor after failed import; #1012

This commit is contained in:
Chris Forbes
2011-07-17 17:25:43 +12:00
parent a635e8a4d8
commit 239be241ff

View File

@@ -26,7 +26,7 @@ namespace OpenRA.FileFormats
this.path = path;
this.priority = priority;
if (Directory.Exists(path))
Directory.Delete(path);
Directory.Delete(path, true);
Write(contents);
}