From 4df9757f5e40f0531db8f10ff9743efcb0c78a6e Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 15 Nov 2015 10:22:33 -0800 Subject: [PATCH] fix saving save the actual new binary --- pk3DS/Subforms/OWSE.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pk3DS/Subforms/OWSE.cs b/pk3DS/Subforms/OWSE.cs index a37d75b..236cd7e 100644 --- a/pk3DS/Subforms/OWSE.cs +++ b/pk3DS/Subforms/OWSE.cs @@ -139,7 +139,7 @@ private void setEntry() // if (Main.oras) // setUnknown(); - // Reassemble files (don't use overall zone write for now) + // Reassemble files byte[][] data = CurrentZone.Write(); // Debug Check (can stay, why not.) @@ -150,7 +150,7 @@ private void setEntry() System.Media.SystemSounds.Asterisk.Play(); // Package the files into the permanent package file. - byte[] raw = CTR.mini.packMini(locationData, "ZO"); + byte[] raw = CTR.mini.packMini(data, "ZO"); File.WriteAllBytes(filepaths[entry], raw); }