X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=776b9eaf8525fd5d57c0d6ec6508fea195829100;hp=fa7ab3b29f67d7e9ef498e9c5cf5545b7ba52612;hb=f4221ff17c58c277660865a11bf6358268fbda10;hpb=f96bffd41095efe02b6eec82ecddb7debb192bfa diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index fa7ab3b2..776b9eaf 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1524,7 +1524,6 @@ console.log(data.data); }; if ( this.game.type == "corr" && - V.CorrConfirm && moveCol == this.game.mycolor && !data.receiveMyMove ) { @@ -1540,6 +1539,10 @@ console.log(data.data); if (data.score == "*") this.re_setClocks(); } }; + if (!V.CorrConfirm) { + afterSetScore(); + return; + } let el = document.querySelector("#buttonsConfirm > .acceptBtn"); // We may play several moves in a row: in case of, remove listener: let elClone = el.cloneNode(true);