diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-07 00:52:22 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-06-16 00:07:14 +0200 |
commit | 23ff001edff2a150658c47db05dccb6b41ec37a5 (patch) | |
tree | c44a77f1805af76beb19c6472d25fad718ebe6e2 | |
parent | 6191357b3ec22cb65772ecc8a9a196323911513c (diff) | |
download | server-23ff001edff2a150658c47db05dccb6b41ec37a5.tar.gz |
tripoli: Art assets and rules framework.
-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 5185da1..74738fa 100644 --- a/public/common/client.js +++ b/public/common/client.js @@ -189,7 +189,7 @@ function init_client(roles) { socket.on('roles', (me, players) => { console.log("ROLES", me, JSON.stringify(players)); - player = me; + player = me.replace(/ /g, '_'); if (player == "Observer") document.querySelector(".chat_button").style.display = "none"; document.querySelector(".grid_top").classList.add(player); |