@@ -57,6 +57,7 @@ class randomFree {
p2.emit('joinGame', matchInfo.playerTwoState);
const broadcast = (data) => {
+ data.timestamp = new Date().getTime();
nsp.in(channel).emit('move', data);
};
p1.on('broadcast', broadcast);