From 8c8d8efab356e7fd88b00c632236ca7ef4647a9a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 4 Apr 2021 00:20:24 +0100 Subject: [PATCH] js: special count: Cancel it after we've used it Signed-off-by: Ian Jackson --- templates/script.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/script.ts b/templates/script.ts index 6a1f163d..d595506c 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -861,6 +861,8 @@ function drag_mousedown(e : MouseEvent, shifted: boolean) { return; } + special_count = null; + special_count_reupdate(); drag_cancel(); drag_pieces = []; -- 2.30.2