mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
AlwaysRevealTopCard done, issue #31 fixed
This commit is contained in:
parent
840b577f42
commit
c835a827b0
6 changed files with 20 additions and 5 deletions
|
|
@ -1582,7 +1582,7 @@ Response::ResponseCode Server_Player::cmdChangeZoneProperties(const Command_Chan
|
|||
|
||||
ges.enqueueGameEvent(event, playerId);
|
||||
|
||||
if (!zone->cards.isEmpty()) {
|
||||
if (!zone->cards.isEmpty() && cmd.always_reveal_top_card()) {
|
||||
Event_RevealCards revealEvent;
|
||||
revealEvent.set_zone_name(zone->getName().toStdString());
|
||||
revealEvent.set_card_id(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue