mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-22 07:10:25 -08: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user