Fix turning cards face-up not having correct printing (#6043)

This commit is contained in:
RickyRister 2025-07-16 04:03:05 -07:00 committed by GitHub
parent b9f16e8cce
commit 4fd2f1f974
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View file

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