Fixed enum property handler.

This commit is contained in:
Max G 2019-02-27 01:50:23 -06:00 committed by GitHub
parent 8d80fb72f7
commit 2e2815c1f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 // 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. // 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]); loadProperties(i => enums[i]);
break; break;