Cleaned up a minor thing.
This commit is contained in:
parent
47112242e7
commit
5b85043194
@ -218,14 +218,11 @@ namespace RobloxFiles.BinaryFormat
|
|||||||
// Write all of the chunks.
|
// Write all of the chunks.
|
||||||
foreach (BinaryRobloxFileChunk chunk in Chunks)
|
foreach (BinaryRobloxFileChunk chunk in Chunks)
|
||||||
{
|
{
|
||||||
byte[] chunkType = Encoding.ASCII.GetBytes(chunk.ChunkType);
|
|
||||||
|
|
||||||
if (chunk.HasWriteBuffer)
|
if (chunk.HasWriteBuffer)
|
||||||
{
|
{
|
||||||
byte[] writeBuffer = chunk.WriteBuffer;
|
byte[] writeBuffer = chunk.WriteBuffer;
|
||||||
writer.Write(writeBuffer);
|
writer.Write(writeBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user