diff --git a/OpenRA.FileFormats/Filesystem/ZipFile.cs b/OpenRA.FileFormats/Filesystem/ZipFile.cs index e1c57801dc..29792fd364 100644 --- a/OpenRA.FileFormats/Filesystem/ZipFile.cs +++ b/OpenRA.FileFormats/Filesystem/ZipFile.cs @@ -40,6 +40,8 @@ namespace OpenRA.FileFormats public ZipFile(string filename, int priority, Dictionary contents) { this.priority = priority; + this.filename = filename; + if (File.Exists(filename)) File.Delete(filename);