From 1ef961e75d2ec7c709ff1e2247607bd9d9e035e9 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Wed, 4 Mar 2020 23:35:20 +0100
Subject: [PATCH] Add debug traces to understand what happens with first corr
 move

---
 client/src/views/Game.vue | 8 ++++++++
 1 file changed, 8 insertions(+)

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: {
-- 
2.44.0