Use sorted dictionary to represent attributes.

Minor yet significant change that should enforce consistency in the serialization order of attributes. Making this change in line with a fix Roblox is making to their attribute serialization.
This commit is contained in:
Max 2021-03-12 17:38:40 -06:00
parent 1a1c04bf9a
commit 535ffa905c
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -220,7 +220,7 @@ namespace RobloxFiles
} }
} }
public class Attributes : Dictionary<string, Attribute> public class Attributes : SortedDictionary<string, Attribute>
{ {
private void Initialize(BinaryReader reader) private void Initialize(BinaryReader reader)
{ {