mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-25 20:34:18 -08:00
power and toughness values displayed after card flip (#3120)
This commit is contained in:
@@ -1013,6 +1013,10 @@ Server_Player::cmdFlipCard(const Command_FlipCard &cmd, ResponseContainer & /*rc
|
||||
event.set_face_down(faceDown);
|
||||
ges.enqueueGameEvent(event, playerId);
|
||||
|
||||
QString ptString = QString::fromStdString(cmd.pt());
|
||||
if (!ptString.isEmpty() && !faceDown)
|
||||
setCardAttrHelper(ges, playerId, zone->getName(), card->getId(), AttrPT, ptString);
|
||||
|
||||
return Response::RespOk;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user