projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Acceptable state, but still issues when a lot of moves arrive quickly on several...
[vchess.git]
/
server
/
sockets.js
diff --git
a/server/sockets.js
b/server/sockets.js
index
e6e85ed
..
406effe
100644
(file)
--- a/
server/sockets.js
+++ b/
server/sockets.js
@@
-192,7
+192,7
@@
module.exports = function(wss) {
Object.keys(clients[page][obj.target]).forEach(x => {
send(
clients[page][obj.target][x],
Object.keys(clients[page][obj.target]).forEach(x => {
send(
clients[page][obj.target][x],
- {code: "newmove", dataWithFrom}
+ Object.assign({code: "newmove"}, dataWithFrom)
);
});
} else {
);
});
} else {