LogicAndTrick / sledge-formats

C# parsers and formats for Half-Life 1 and related engines.
MIT License
71 stars 10 forks source link

Properties dictionary wrapper does not handle replacement of SortedProperties list #27

Closed SamVanheer closed 11 months ago

SamVanheer commented 11 months ago

When replacing the SortedProperties list on a Sledge.Formats.Map.Objects.Entity object the Properties dictionary still wraps the original list instead of the new list.

Either the setter needs to be removed or the setter should recreate the wrapper as well (which may leave dangling references to the old wrapper).

LogicAndTrick commented 11 months ago

Thanks :) No release for this one for now since it's minor, will include in the next one