X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=137e5a9f5d3982c74f10b7960ca4280b5bf2f0d1;hp=8f49c5d7723c6c3ae959e387ea473959547e3026;hb=1ef961e75d2ec7c709ff1e2247607bd9d9e035e9;hpb=51145f8c0e0595f195e26827e932306eb0083c10 diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 8f49c5d7..137e5a9f 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -710,6 +710,10 @@ export default { else if (this.drawOffer == "threerep") this.drawOffer = ""; // Since corr games are stored at only one location, update should be // done only by one player for each move: + + +console.log(moveCol + " " + this.game.type); + if ( this.game.mycolor && (this.game.type == "live" || moveCol == this.game.mycolor) @@ -727,6 +731,10 @@ export default { break; } if (this.game.type == "corr") { + + +console.log("DO UPDATE"); + GameStorage.update(this.gameRef.id, { fen: this.game.fen, move: {