test
This commit is contained in:
parent
9267e50415
commit
1be31684d6
@ -53,7 +53,9 @@ export class Game {
|
|||||||
socket.emit('me', publicUserInfo);
|
socket.emit('me', publicUserInfo);
|
||||||
socket.emit(
|
socket.emit(
|
||||||
'players',
|
'players',
|
||||||
this._connections.map((conn) => ({
|
this._connections
|
||||||
|
.filter((player) => player.data.user)
|
||||||
|
.map((conn) => ({
|
||||||
...this.mapPlayer(conn.data.user),
|
...this.mapPlayer(conn.data.user),
|
||||||
...conn.data.playerinfo,
|
...conn.data.playerinfo,
|
||||||
})),
|
})),
|
||||||
|
Loading…
Reference in New Issue
Block a user