Update number when 'Reveal top cards of library' used

This commit is contained in:
ZeldaZach 2024-12-29 16:31:13 -05:00
parent 2ff99f12d8
commit 1ce7b9f7de
No known key found for this signature in database

View file

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