From 064c3621abec73f4e37d9109a0ae78753b39c633 Mon Sep 17 00:00:00 2001 From: giteaadmin Date: Tue, 23 Jun 2026 04:29:51 +0000 Subject: [PATCH] =?UTF-8?q?join=20room=20=E0=B9=80=E0=B8=9E=E0=B8=B4?= =?UTF-8?q?=E0=B9=88=E0=B8=A1=E0=B8=A3=E0=B8=B9=E0=B8=9B=E0=B9=83=E0=B8=AB?= =?UTF-8?q?=E0=B9=89=E0=B9=80=E0=B8=82=E0=B9=89=E0=B8=B2=E0=B9=83=E0=B8=88?= =?UTF-8?q?=E0=B8=87=E0=B9=88=E0=B8=B2=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/html/Game/public/js/room-lobby.js | 5 +++++ www/html/Game/public/room-lobby.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 @@
Room ID : - +