When saving a zip file, save the main rocket ork file using the same

filename.
This commit is contained in:
kruland2607 2012-12-12 22:22:11 -06:00
parent db45a48e08
commit aeacbcfd18

View File

@ -266,8 +266,7 @@ public class GeneralRocketSaver {
try {
// Fixme - should probably be the same name? Should we put everything in a directory?
ZipEntry mainFile = new ZipEntry("rocket.ork");
ZipEntry mainFile = new ZipEntry(fileName);
zos.putNextEntry(mainFile);
saveInternal(zos,document,options);
zos.closeEntry();