From: Benjamin Auder Date: Thu, 19 Mar 2020 20:02:58 +0000 (+0100) Subject: Fix introduced bug when preventing to move when choices are shown X-Git-Url: https://git.auder.net/variants/Dynamo/DESCRIPTION?a=commitdiff_plain;h=78c23cd6e4717d6d07c84177b515c6e03717da7e;p=vchess.git Fix introduced bug when preventing to move when choices are shown --- diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 447040f9..921a5998 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -317,8 +317,8 @@ export default { // Force a delay between move is shown and clicked // (otherwise a "double-click" bug might occur) if (Date.now() - this.clickTime < 200) return; - this.play(m); this.choices = []; + this.play(m); }; const onClick = this.mobileBrowser