projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b64b66
)
Add debug trace to understand why corr move 1 isn't recorded
author
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 22:58:07 +0000
(23:58 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 22:58:07 +0000
(23:58 +0100)
server/models/Game.js
patch
|
blob
|
blame
|
history
diff --git
a/server/models/Game.js
b/server/models/Game.js
index
92c0130
..
2e33031
100644
(file)
--- a/
server/models/Game.js
+++ b/
server/models/Game.js
@@
-242,6
+242,11
@@
const GameModel =
query += modifs + " WHERE id = " + id;
db.run(query);
}
+
+
+return cb({errmsg: JSON.stringify(obj.move)});
+
+
// NOTE: move, chat and delchat are mutually exclusive
if (obj.move)
{