Skip to content

Commit c7890ec

Browse files
committed
typo
1 parent ec116e0 commit c7890ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ io.on('connection', (socket: socketIO.Socket) => {
9393
code = c;
9494
socket.join(code);
9595
socket.to(code).broadcast.emit('join', socket.id, {
96-
id: id,
96+
playerId: id,
9797
clientId: clientId === Math.pow(2, 32) - 1 ? null : clientId
9898
});
9999
socket.emit('setClients', otherClients);

0 commit comments

Comments
 (0)