Log number of cards revealed to other players. (#3555)

This commit is contained in:
Rob Blanckaert 2019-02-04 23:33:11 -08:00 committed by Zach H
parent 2bf444e4b7
commit a719e3b306
3 changed files with 4 additions and 1 deletions

View file

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