Fixed a Socket.IO API Problem
parent
9db609ecc1
commit
5ee60b0b35
|
@ -242,7 +242,7 @@ function handleUserInfoUpdate(client, message)
|
||||||
{
|
{
|
||||||
if(pad2sessions[padId][i] != client.id)
|
if(pad2sessions[padId][i] != client.id)
|
||||||
{
|
{
|
||||||
socketio.clients[pad2sessions[padId][i]].json.send(message);
|
socketio.sockets.sockets[pad2sessions[padId][i]].json.send(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue