Fixed lobby close

This commit is contained in:
2026-02-10 19:10:17 +01:00
parent 4c53282bfa
commit de2684d4c1
2 changed files with 30 additions and 17 deletions

View File

@@ -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}`);