From: Benjamin Auder Date: Wed, 4 Mar 2020 22:40:05 +0000 (+0100) Subject: Add debug traces to understand what happens with first corr move X-Git-Url: https://git.auder.net/variants/Chakart/doc/%7B%7B%20asset%28%27mixstore/images/DESCRIPTION?a=commitdiff_plain;h=b991f731b93e48cebda2e37462aabf61f4a02e1d;p=vchess.git Add debug traces to understand what happens with first corr move --- 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: {