Adjustments

This commit is contained in:
KillzXGaming 2022-10-28 20:04:27 -04:00
parent 1a9ae89eac
commit db49432909

View file

@ -180,15 +180,13 @@ namespace DKCTF
{ {
get get
{ {
if (!WriteMetaData)
return SubData;
List<byte[]> Data = new List<byte[]>(); List<byte[]> Data = new List<byte[]>();
using (var reader = new FileReader(SubData, true)) using (var reader = new FileReader(SubData, true))
{ {
Data.Add(reader.ReadBytes((int)reader.BaseStream.Length)); Data.Add(reader.ReadBytes((int)reader.BaseStream.Length));
if (MetaPointer != null)
if (WriteMetaData)
{ {
using (var r = new FileReader(ArchiveStream, true)) { using (var r = new FileReader(ArchiveStream, true)) {
r.SetByteOrder(true); r.SetByteOrder(true);