fix another dumb bug in ZipFile

This commit is contained in:
Chris Forbes
2011-01-01 21:24:42 +13:00
parent a8b4e640e7
commit ba2ec557bc

View File

@@ -40,6 +40,8 @@ namespace OpenRA.FileFormats
public ZipFile(string filename, int priority, Dictionary<string, byte[]> contents)
{
this.priority = priority;
this.filename = filename;
if (File.Exists(filename))
File.Delete(filename);