diff --git a/src/public/script.js b/src/public/script.js index 1b82991..33ba638 100644 --- a/src/public/script.js +++ b/src/public/script.js @@ -525,7 +525,7 @@ function renderPlayer(){ if(!room)return; document.getElementById('p-code').textContent=room.id; const me=room.players.find(p=>p.id===myId); - document.getElementById('p-namelbl').textContent=me?.name??''; + document.getElementById('p-namelbl').textContent=me?.id||''; renderTeamPicker(); renderPlayerBuzzer(); renderRoster(); @@ -624,7 +624,7 @@ function renderRoster(){ row.className='roster-row'+(isMe?' roster-me':''); row.innerHTML=`
-