better UI
This commit is contained in:
parent
c92ec69523
commit
6a0863bd56
3 changed files with 28 additions and 10 deletions
2
index.js
2
index.js
|
@ -66,7 +66,7 @@ app.ws('/', function (ws, req) {
|
|||
console.log(`Player ${player.you} uses username ${x.username} illegally`)
|
||||
return;
|
||||
}
|
||||
ws.username = j.username;
|
||||
ws.ent.username = ws.username = j.username;
|
||||
|
||||
console.log(`Player ${player.you} uses username ${ws.username}`)
|
||||
})()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue