Cleaned up a minor thing.

This commit is contained in:
Max G 2019-06-08 00:18:00 -05:00 committed by GitHub
parent 47112242e7
commit 5b85043194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}
}
}
}
}
}