mirror of
https://github.com/AndorsTrailRelease/ATCS.git
synced 2025-10-27 18:44:03 +01:00
ff4d8a6b6ce5f389e92a7b26d33e17606ae6d51c
The "worldmap.labels" map is keyed by namedarea.id (corresponding to map.area), while the "mapLocations" map is keyed by map.id. This causes worldmap labels to be marked for removal when there's a namedarea.id that does not match any map.id, which happens to be true for all namedareas except crossglen and crossroads. This logic is unnecessary anyway, because WorldMapView.pushToModel is only invoked by WorldmapSegment.pushToModel, which only triggers when maps are added or moved, but not deleted. Deletions are instead handled by WorldmapSegment.elementChanged. As such, it should never be the case that a label is removable in a pushToModel call.
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2025-10-27T23:11:37.822Z
Languages
Java
99.1%
NSIS
0.3%
Shell
0.3%
Batchfile
0.3%