Fix hand visible (#6122)

This commit is contained in:
RickyRister
2025-09-12 06:46:38 -07:00
committed by GitHub
parent 0f05d6bd74
commit ff7ce39841

View File

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