We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec116e0 commit c7890ecCopy full SHA for c7890ec
1 file changed
src/index.ts
@@ -93,7 +93,7 @@ io.on('connection', (socket: socketIO.Socket) => {
93
code = c;
94
socket.join(code);
95
socket.to(code).broadcast.emit('join', socket.id, {
96
- id: id,
+ playerId: id,
97
clientId: clientId === Math.pow(2, 32) - 1 ? null : clientId
98
});
99
socket.emit('setClients', otherClients);
0 commit comments