diff --git a/public_html/script.js b/public_html/script.js index 3d0851b..dfab195 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -439,5 +439,7 @@ function selectPlaneByHex(hex) { Planes[SelectedPlane].funcUpdateLines(); Planes[SelectedPlane].marker.setIcon(Planes[SelectedPlane].funcGetIcon()); } + } else { + SelectedPlane = null } }