mirror of
https://github.com/HexCardGames/HexDeck.git
synced 2025-12-01 03:24:28 +01: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