Map Image Exporting
Kenkron opened this issue ยท 3 comments
Forgot to store scope after packet rework. This used for image exporting, and can be computed on-load.
Even with the scope fixed, the export is still not working correctly.
Some of the tiles return null when they shouldn't, and the missing tiles change under different circumstances. This makes me think it's a concurrency but. Will test.
Turns out it was only tangentially related to concurrency. Turns out, the keys for the TileGroup
s were all referencing the same ShortVec2
object, which kept changing every time a thread tried to iterate through a region.
Scope is still not fixed, actually. It's still not computed on sync correctly.
Fixed as of 82fb89d