Return the player data in the object
This commit is contained in:
parent
5fb5f5d457
commit
5a9dfbb864
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const data: WebsocketEvent = {
|
|||
socket.emit(`res:lobby.create`, {
|
||||
status: Status.Success,
|
||||
game_code: game.id,
|
||||
players: [],
|
||||
players: game.players.map(p => p.json()),
|
||||
});
|
||||
|
||||
games.set(game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue