Rework read/write zip file loading/saving.

This commit is contained in:
Paul Chote
2017-05-24 20:17:27 +00:00
committed by abcdefg30
parent c06df1ed21
commit df40d38b91
6 changed files with 90 additions and 81 deletions

View File

@@ -37,7 +37,7 @@ namespace OpenRA.Mods.D2k.UtilityCommands
return;
var dest = Path.GetFileNameWithoutExtension(args[1]) + ".oramap";
map.Save(ZipFileLoader.Create(dest, new Folder(".")));
map.Save(ZipFileLoader.Create(dest));
Console.WriteLine(dest + " saved.");
}
}