Fixed typo

This commit is contained in:
erri120 2019-11-16 14:23:41 +01:00
parent 61b91ad460
commit 03251804c1
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -169,12 +169,12 @@ namespace Wabbajack.Lib
{
Utils.LogStatus($"Generating zEdit merge: {m.To}");
var src_data = m.Sources.Select(s => File.ReadAllBytes(Path.Combine(installer.Outputfolder, s.RelativePath)))
var src_data = m.Sources.Select(s => File.ReadAllBytes(Path.Combine(installer.OutputFolder, s.RelativePath)))
.ConcatArrays();
var patch_data = installer.LoadBytesFromPath(m.PatchID);
using (var fs = File.OpenWrite(Path.Combine(installer.Outputfolder, m.To)))
using (var fs = File.OpenWrite(Path.Combine(installer.OutputFolder, m.To)))
BSDiff.Apply(new MemoryStream(src_data), () => new MemoryStream(patch_data), fs);
});
}