Closed Josh1billion closed 9 years ago
It looks like the current code assumes that "draworder" is present, which is similar to the other bugs that were present. I'll add a "null == True" check as with the other versions.
I pushed a change to master
that removed the TryGetValue
method, can you give it a try now?
(BTW I really do need to get the testing framework set up!)
Yup, it works now. Thanks for the quick fix. :+1:
When I try to load a map that contains at least one object layer, an exception gets thrown. The exception appears to be related to the drawing order in some way.
To reproduce:
For the time being, I was able to get the map to load by editing ObjectGroup.cs and removing the offending code, replacing it with just this simple line:
DrawOrder = DrawOrderType.TopDown;
.