mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fix turning cards face-up not having correct printing (#6043)
This commit is contained in:
parent
b9f16e8cce
commit
4fd2f1f974
3 changed files with 5 additions and 3 deletions
|
|
@ -1324,6 +1324,7 @@ Server_Player::cmdFlipCard(const Command_FlipCard &cmd, ResponseContainer & /*rc
|
|||
event.set_card_id(card->getId());
|
||||
if (!faceDown) {
|
||||
event.set_card_name(card->getName().toStdString());
|
||||
event.set_card_provider_id(card->getProviderId().toStdString());
|
||||
}
|
||||
event.set_face_down(faceDown);
|
||||
ges.enqueueGameEvent(event, playerId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue