feat: rerender affected layers on auto-update

This commit is contained in:
Azgaar 2025-02-08 14:15:59 +01:00
parent 33a02aeea0
commit 0be14790d2
3 changed files with 8 additions and 1 deletions

View file

@ -977,4 +977,10 @@ export function resolveVersionConflicts(mapVersion) {
BurgsAndStates.getPoles();
Provinces.getPoles();
}
if (isOlderThan("1.107.0")) {
// v1.107.0 allowed custom images for markers and regiments
if (layerIsOn("toggleMarkers")) drawMarkers();
if (layerIsOn("toggleMilitary")) drawMilitary();
}
}