don't draw markers if not required

This commit is contained in:
Azgaar 2022-04-27 00:32:42 +05:00
parent 1889ac919d
commit 937a92d7ef
2 changed files with 1 additions and 2 deletions

View file

@ -308,7 +308,7 @@ window.Submap = (function () {
if (options.lockMarkers) m.lock = true;
}
}
drawMarkers();
if (layerIsOn("toggleMarkers")) drawMarkers();
stage("Redraw emblems.");
drawEmblems();