power and toughness values displayed after card flip (#3120)

This commit is contained in:
David Szabo 2018-03-01 18:28:30 +01:00 committed by Zach H
parent 66958b5975
commit 281e52eaa9
3 changed files with 10 additions and 0 deletions

View file

@ -2205,6 +2205,11 @@ void Player::cardMenuAction()
cmd->set_zone(card->getZone()->getName().toStdString());
cmd->set_card_id(card->getId());
cmd->set_face_down(!card->getFaceDown());
if (card->getFaceDown()) {
CardInfoPtr ci = card->getInfo();
if (ci)
cmd->set_pt(ci->getPowTough().toStdString());
}
commandList.append(cmd);
break;
}