feat: add frame

This commit is contained in:
2026-07-08 12:34:21 +03:30
parent 525cd554ef
commit b5420bac21
12 changed files with 280 additions and 13 deletions
+2 -1
View File
@@ -391,10 +391,11 @@ func (h *Hub) removeFromTable(t *pendingTable, c *Client) {
func (h *Hub) broadcastLobby(t *pendingTable) {
players := make([]lobbyPlayer, len(t.clients))
for i, cl := range t.clients {
_, _, avatar := h.settler.PlayerProfile(cl.UserID)
_, _, avatar, frame := h.settler.PlayerProfile(cl.UserID)
players[i] = lobbyPlayer{
Name: cl.Name,
Avatar: avatar,
Frame: frame,
Host: cl.UserID == t.host,
Seat: t.seatOf(i),
}