mirror of
https://github.com/HexCardGames/HexDeck.git
synced 2025-09-05 11:18:38 +02:00
feat(backend): send own cards and player states on room join
This commit is contained in:
@ -286,4 +286,6 @@ func onPlayerJoin(client *socketio.Socket, room *types.Room, player *types.Playe
|
||||
}
|
||||
game.OnPlayedCardUpdate(room, player, card)
|
||||
})
|
||||
|
||||
game.SendInitialData(room, player)
|
||||
}
|
||||
|
Reference in New Issue
Block a user