From b991f731b93e48cebda2e37462aabf61f4a02e1d Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Wed, 4 Mar 2020 23:40:05 +0100 Subject: [PATCH] Add debug traces to understand what happens with first corr move --- client/src/utils/gameStorage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/utils/gameStorage.js b/client/src/utils/gameStorage.js index dfbd6394..27564966 100644 --- a/client/src/utils/gameStorage.js +++ b/client/src/utils/gameStorage.js @@ -62,6 +62,7 @@ export const GameStorage = { update: function(gameId, obj) { if (Number.isInteger(gameId) || !isNaN(parseInt(gameId))) { // corr: only move, fen and score +console.log(obj.move); ajax("/games", "PUT", { gid: gameId, newObj: { -- 2.44.0