From 5b850431941683c67cfc19f0947a90642b1ca488 Mon Sep 17 00:00:00 2001 From: Max G Date: Sat, 8 Jun 2019 00:18:00 -0500 Subject: [PATCH] Cleaned up a minor thing. --- BinaryFormat/BinaryRobloxFile.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/BinaryFormat/BinaryRobloxFile.cs b/BinaryFormat/BinaryRobloxFile.cs index 5c07b87..dc253ff 100644 --- a/BinaryFormat/BinaryRobloxFile.cs +++ b/BinaryFormat/BinaryRobloxFile.cs @@ -218,16 +218,13 @@ namespace RobloxFiles.BinaryFormat // Write all of the chunks. foreach (BinaryRobloxFileChunk chunk in Chunks) { - byte[] chunkType = Encoding.ASCII.GetBytes(chunk.ChunkType); - if (chunk.HasWriteBuffer) { byte[] writeBuffer = chunk.WriteBuffer; writer.Write(writeBuffer); } - } } } } -} \ No newline at end of file +}