Because the chunk wasn't duplicating the mapdata when altering it, it was modifying the original map data. When you returned to the contenteditor after playing, any door you'd opened on the map would be applied to the map too. After saving the map in the content editor, these changes are also applied to the map file.
This pr fixes that by having the chunk duplicate the data from the map.
Requires #277 Fixes #276
Because the chunk wasn't duplicating the mapdata when altering it, it was modifying the original map data. When you returned to the contenteditor after playing, any door you'd opened on the map would be applied to the map too. After saving the map in the content editor, these changes are also applied to the map file.
This pr fixes that by having the chunk duplicate the data from the map.