projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89ffc91
)
Add debug trace to understand why corr move 1 isn't recorded
author
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 23:01:30 +0000
(
00:01
+0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 23:01:30 +0000
(
00:01
+0100)
server/models/Game.js
patch
|
blob
|
blame
|
history
diff --git
a/server/models/Game.js
b/server/models/Game.js
index
4d06e48
..
e970bfb
100644
(file)
--- a/
server/models/Game.js
+++ b/
server/models/Game.js
@@
-244,7
+244,7
@@
const GameModel =
}
}
-
//return cb({errmsg: JSON.stringify(
obj.move)});
+
return cb({errmsg: JSON.stringify(obj.move) + " " + (!!
obj.move)});
// NOTE: move, chat and delchat are mutually exclusive
// NOTE: move, chat and delchat are mutually exclusive