[Server] Rely on the player order event instead of a full state resend

cmdSetPlayerOrder re-sent the whole game state after reseating, so every
client reloaded its deck view mid-lobby for no reason. The new seating reaches
clients through the Event_PlayerOrderChanged that reseatPlayers broadcasts.
This commit is contained in:
Lukas Brübach 2026-11-04 08:58:39 +01:00
parent 16a2e70039
commit 7abffe84d5

View file

@ -457,8 +457,8 @@ Response::ResponseCode Server_AbstractParticipant::cmdSetPlayerOrder(const Comma
game->reorderPlayerSeats(playerNames);
}
game->sendGameStateToPlayers();
// Clients learn the new seating from the Event_PlayerOrderChanged that
// reseatPlayers broadcasts; no full game state resend is needed for it.
return Response::RespOk;
}