diff options
Diffstat (limited to 'public/common/client.js')
-rw-r--r-- | public/common/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/common/client.js b/public/common/client.js index 28b4f8e..670fa07 100644 --- a/public/common/client.js +++ b/public/common/client.js @@ -220,7 +220,7 @@ function init_client(roles) { document.querySelector(".grid_top").classList.add(player); for (let i = 0; i < roles.length; ++i) { let p = players.find(p => p.role == roles[i]); - document.querySelector(USER_SEL[i]).textContent = p ? p.name : "NONE"; + document.querySelector(USER_SEL[i]).textContent = p ? p.user_name : "NONE"; } }); |