mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
Log number of cards revealed to other players. (#3555)
This commit is contained in:
parent
2bf444e4b7
commit
a719e3b306
3 changed files with 4 additions and 1 deletions
|
|
@ -1854,7 +1854,8 @@ void Player::eventRevealCards(const Event_RevealCards &event)
|
|||
static_cast<GameScene *>(scene())->addRevealedZoneView(this, zone, cardList, event.grant_write_access());
|
||||
}
|
||||
|
||||
emit logRevealCards(this, zone, event.card_id(), cardName, otherPlayer, false, cardList.size());
|
||||
emit logRevealCards(this, zone, event.card_id(), cardName, otherPlayer, false,
|
||||
event.has_number_of_cards() ? event.number_of_cards() : cardList.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue