projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51145f8
)
Add debug traces to understand what happens with first corr move
author
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 22:35:20 +0000
(23:35 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 22:35:20 +0000
(23:35 +0100)
client/src/views/Game.vue
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
8f49c5d
..
137e5a9
100644
(file)
--- 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: {