From 2e2815c1f056f111c0750e0600fac63d0db33efe Mon Sep 17 00:00:00 2001 From: Max G Date: Wed, 27 Feb 2019 01:50:23 -0600 Subject: [PATCH] Fixed enum property handler. --- BinaryFormat/ChunkTypes/PROP.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BinaryFormat/ChunkTypes/PROP.cs b/BinaryFormat/ChunkTypes/PROP.cs index 583ca97..43d794c 100644 --- a/BinaryFormat/ChunkTypes/PROP.cs +++ b/BinaryFormat/ChunkTypes/PROP.cs @@ -290,7 +290,7 @@ namespace RobloxFiles.BinaryFormat.Chunks // TODO: I want to map these values to actual Roblox enums, but I'll have to add an // interpreter for the JSON API Dump to do it properly. - uint[] enums = Reader.ReadInterlaced(instCount, BitConverter.ToUInt32); + uint[] enums = Reader.ReadInterleaved(instCount, BitConverter.ToUInt32); loadProperties(i => enums[i]); break;