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

@@ -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;
}