mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-21 00:53:40 -08:00
Merge pull request #3 from ctrlaltca/pr_1051
Add backward compatibility for new client on old servers
This commit is contained in:
@@ -527,6 +527,8 @@ void Player::playerListActionTriggered()
|
||||
if (ok) {
|
||||
cmd.set_zone_name("deck");
|
||||
cmd.set_top_cards(number);
|
||||
// backward compatibility: servers before #1051 only permits to reveal the first card
|
||||
cmd.set_card_id(0);
|
||||
}
|
||||
|
||||
} else if (menu == mRevealHand)
|
||||
|
||||
Reference in New Issue
Block a user