From 14525743a0cbdc2f9d62aa28056da4e123004ae7 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Wed, 9 Dec 2020 22:42:25 +0100 Subject: [PATCH] fix silly --- html/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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