mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 19:13:55 -07:00
Update number when 'Reveal top cards of library' used
This commit is contained in:
parent
2ff99f12d8
commit
1ce7b9f7de
1 changed files with 1 additions and 1 deletions
|
|
@ -663,8 +663,8 @@ void Player::playerListActionTriggered()
|
||||||
cmd.set_top_cards(number);
|
cmd.set_top_cards(number);
|
||||||
// backward compatibility: servers before #1051 only permits to reveal the first card
|
// backward compatibility: servers before #1051 only permits to reveal the first card
|
||||||
cmd.add_card_id(0);
|
cmd.add_card_id(0);
|
||||||
|
defaultNumberTopCards = number;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (menu == mRevealHand) {
|
} else if (menu == mRevealHand) {
|
||||||
cmd.set_zone_name("hand");
|
cmd.set_zone_name("hand");
|
||||||
} else if (menu == mRevealRandomHandCard) {
|
} else if (menu == mRevealRandomHandCard) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue