diff --git a/www/html/Game/public/js/room-lobby.js b/www/html/Game/public/js/room-lobby.js index 9ad484d..9705ce3 100644 --- a/www/html/Game/public/js/room-lobby.js +++ b/www/html/Game/public/js/room-lobby.js @@ -3121,6 +3121,11 @@ } mapData = res.mapData; roomJoinReady = true; + /* ไอคอนกุญแจ 🔒 โชว์เฉพาะห้อง private (จาก res.isPrivate) — public ไม่โชว์ */ + try { + const lockEl = document.getElementById('room-id-lock'); + if (lockEl) lockEl.style.display = res.isPrivate ? '' : 'none'; + } catch (eLk) { /* ignore */ } maybeHideRoomLoading(); markRoomCzInteractiveCell(); markHostHcInteractiveCell(); diff --git a/www/html/Game/public/room-lobby.html b/www/html/Game/public/room-lobby.html index 146c919..92e5410 100644 --- a/www/html/Game/public/room-lobby.html +++ b/www/html/Game/public/room-lobby.html @@ -1487,7 +1487,7 @@