diff --git a/html/script.js b/html/script.js index 175b03e..84da2c4 100644 --- a/html/script.js +++ b/html/script.js @@ -2887,7 +2887,7 @@ function selectPlaneByHex(hex, options) { } if (!multiSelect && oldPlane) { oldPlane.selected = false; - newPlane.updateTick(true); + oldPlane.updateTick(true); $(oldPlane.tr).removeClass("selected"); SelectedPlane = null; // scroll the infoblock back to the top for the next plane to be selected