const socket = sockets[sid];
// If a player deletes local infos and then tries to resume a game,
// sockets[oppSid] will probably not exist anymore:
if (socket) socket.send(JSON.stringify(Object.assign({ code: code }, data)));
const socket = sockets[sid];
// If a player deletes local infos and then tries to resume a game,
// sockets[oppSid] will probably not exist anymore:
if (socket) socket.send(JSON.stringify(Object.assign({ code: code }, data)));