From: Benjamin Auder Date: Wed, 4 Mar 2020 22:35:20 +0000 (+0100) Subject: Add debug traces to understand what happens with first corr move X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/css/current/pieces/app_dev.php?a=commitdiff_plain;h=1ef961e75d2ec7c709ff1e2247607bd9d9e035e9;p=vchess.git Add debug traces to understand what happens with first corr move --- 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: {