Fixed lobby close

This commit is contained in:
smo committed 2026-02-10 19:10:17 +01:00
1 parent 4c53282bfa
commit de2684d4c1
2 files changed
+30 -17

No files matched your search

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