Fix hand visible

This commit is contained in:
RickyRister 2025-09-12 02:38:25 -07:00
parent 93c15c8151
commit 25a4204caf

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