melek / lib_elevation

A flexible elevation library for creating vertical encounter maps in MapTool.
4 stars 0 forks source link

Deleting elevation linked tokens causes an error which prevents switching elevations #10

Closed melek closed 3 years ago

melek commented 3 years ago

Switching elevations saves the appearance and position of all tokens linked to that elevation.

Currently in 1.0b2, if one of those linked tokens is missing (has been deleted), the switchElevation method completely halts and it is impossible to switch elevations.

To workaround this, the elevation token must be manual removed from the map data by ID, which is difficult and error prone.

Ideally the method should simply discard missing IDs when saving linked tokens.

melek commented 3 years ago

Resolved in 1.03b.