mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
Fix hand visible (#6122)
This commit is contained in:
parent
0f05d6bd74
commit
ff7ce39841
1 changed files with 3 additions and 1 deletions
|
|
@ -56,7 +56,9 @@ void Player::initializeZones()
|
|||
addZone(new PileZoneLogic(this, "sb", false, false, false, this));
|
||||
addZone(new TableZoneLogic(this, "table", true, false, true, this));
|
||||
addZone(new StackZoneLogic(this, "stack", true, false, true, this));
|
||||
addZone(new HandZoneLogic(this, "hand", false, false, true, this));
|
||||
bool visibleHand = playerInfo->getLocalOrJudge() ||
|
||||
(game->getPlayerManager()->isSpectator() && game->getGameMetaInfo()->spectatorsOmniscient());
|
||||
addZone(new HandZoneLogic(this, "hand", false, false, visibleHand, this));
|
||||
}
|
||||
|
||||
Player::~Player()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue