Fixed lobby close
This commit is contained in:
@@ -467,7 +467,6 @@
|
||||
const msg = JSON.parse(e.data);
|
||||
if (msg.type === "room_list") updateRoomList(msg.rooms);
|
||||
if (msg.type === "init") {
|
||||
myRole = msg.role;
|
||||
roomId = msg.roomId;
|
||||
document.getElementById("roomCode").innerText = roomId.toUpperCase();
|
||||
window.history.replaceState({}, '', `?room=${roomId}`);
|
||||
|
||||
Reference in New Issue
Block a user