mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-01 00:20:29 -07:00
power and toughness values displayed after card flip (#3120)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user