error while joining rooms simultenously
Closed this issue · 1 comments
0x00214131812049 commented
Line 6031 in a175ec7
TypeError: Cannot read properties of undefined (reading 'appendChild')
When i tried joinNRandomRooms.js, got this error. Also, it triggers at start of script immediately
wxyz-abcd commented
We have to wait for "ready" event before we can join a room:
_haxBall.on("ready", () => {
_haxBall.joinRoom({
...
});
});
Changed JoinNRooms example code accordingly.