mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-24 02:13:02 -07:00
When a player restores connection to a game, the client rebuilds each zone from the cards the server sends in the game state. Non-coordinate zones (hand, piles, stack) report x == 0 on every card, so inserting each rebuilt card at that coordinate reversed the received order one card at a time. Append rebuilt cards in the order they arrive for zones without coordinates; coordinate-based zones (table) keep using x/y. Fixes #2759 Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| event_processing_options.h | ||
| player_actions.cpp | ||
| player_actions.h | ||
| player_event_handler.cpp | ||
| player_event_handler.h | ||
| player_info.cpp | ||
| player_info.h | ||
| player_logic.cpp | ||
| player_logic.h | ||
| player_manager.cpp | ||
| player_manager.h | ||