From b8a5971f183744f8906ca51a045b74af1b211ead Mon Sep 17 00:00:00 2001 From: Max G Date: Sun, 7 Jul 2019 10:27:07 -0500 Subject: [PATCH] Small tweak. --- BinaryFormat/Chunks/INST.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/BinaryFormat/Chunks/INST.cs b/BinaryFormat/Chunks/INST.cs index f89535b..0c948c9 100644 --- a/BinaryFormat/Chunks/INST.cs +++ b/BinaryFormat/Chunks/INST.cs @@ -77,9 +77,7 @@ namespace RobloxFiles.BinaryFormat.Chunks foreach (int instId in InstanceIds) { Instance service = file.Instances[instId]; - bool isRooted = (service.Parent == file); - - writer.Write(isRooted); + writer.Write(service.Parent == file); } }