X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=2f751ac57e23fc1c09f5ceebb49878d98bb68f6a;hp=d702b0ec3b187bf47a2e46b0a5977b16c0144f1f;hb=2fb22896fd3a519c6864cd5a5d97326bad376634;hpb=beda3dd096a455ed337eaaeadc400712bf0f5c6d diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index d702b0ec..2f751ac5 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1527,7 +1527,6 @@ console.log(data.data); }; if ( this.game.type == "corr" && - V.CorrConfirm && moveCol == this.game.mycolor && !data.receiveMyMove ) { @@ -1543,6 +1542,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);