I am attempting to create a reset button in a simple isometric libgdx puzzle game I am making utilizing libgdx. I am using the TiledMap object in order to render my map.
Within my code, I edit some cells of layers in order to display that a specific interaction has occurred. When I try to reset the map by setting the edited layers to the original layer that was passed in order to undo this change, the cells are not unedited.
I can post code in the comments if needed, just trying to undo these edits to cells without explicitly referencing specific cells.