mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
don't send useless information in getGameState; fixed bug that caused an attached card to have undefined coordinates when its parent card was destroyed by conceding or leaving
This commit is contained in:
parent
eb06d6b4ea
commit
5692addf54
4 changed files with 45 additions and 14 deletions
|
|
@ -897,7 +897,8 @@ Response::ResponseCode Server_ProtocolHandler::cmdConcede(const Command_Concede
|
|||
return Response::RespContextError;
|
||||
|
||||
player->setConceded(true);
|
||||
game->removeArrowsToPlayer(player);
|
||||
game->removeArrowsToPlayer(ges, player);
|
||||
game->unattachCards(ges, player);
|
||||
player->clearZones();
|
||||
|
||||
Event_PlayerPropertiesChanged event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue