X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=server%2Fsockets.js;fp=server%2Fsockets.js;h=d00b3c898c1d5f3ce41edb5740e847c96b04896b;hp=25abadb75dabba084cdaef362cb7c7dbce682d0e;hb=c7550017d88ff6eb32e2c76a271a7f9edc4a3bf6;hpb=0d5335de5c94d780e03ac0aa3279b731c69455cc diff --git a/server/sockets.js b/server/sockets.js index 25abadb7..d00b3c89 100644 --- a/server/sockets.js +++ b/server/sockets.js @@ -209,6 +209,9 @@ module.exports = function(wss) { clients[page][rid][rtmpId].socket, { code: "askfullgame", from: [sid,tmpId] } ); + } else { + // I'm the only person who have the game for the moment: + send(socket, { code: "fullgame", data: { empty: true } }); } } break;