feat(backend): send own cards and player states on room join

This commit is contained in:
2025-03-11 12:39:22 +01:00
parent ba44508f00
commit 14aeb21772
3 changed files with 17 additions and 1 deletions

View File

@ -286,4 +286,6 @@ func onPlayerJoin(client *socketio.Socket, room *types.Room, player *types.Playe
}
game.OnPlayedCardUpdate(room, player, card)
})
game.SendInitialData(room, player)
}