Merge pull request #3 from ctrlaltca/pr_1051
Add backward compatibility for new client on old servers
This commit is contained in:
commit
02453d3576
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue