When broadcasting to others, this prints to the command Prompt: socket.broadcast.to(client.room).emit("updateToOthers", "The owner (" +people[client.id].name + ") removed the room.");
TypeError: Cannot read property 'to' of undefined
Am I broadcasting the wrong way?
via JonasSH
No comments:
Post a Comment