Allow Judges to see all information, regardless of room settings (#5053)

This commit is contained in:
Zach H 2024-06-16 19:12:37 -04:00 committed by GitHub
parent e2ab8db958
commit b7fbc12ac0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 42 additions and 23 deletions

View file

@ -152,7 +152,7 @@ Player::Player(const ServerInfo_User &info, int _id, bool _local, bool _judge, T
stack = new StackZone(this, (int)table->boundingRect().height(), this);
hand = new HandZone(this, _local || (_parent->getSpectator() && _parent->getSpectatorsSeeEverything()),
hand = new HandZone(this, _local || _judge || (_parent->getSpectator() && _parent->getSpectatorsSeeEverything()),
(int)table->boundingRect().height(), this);
connect(hand, SIGNAL(cardCountChanged()), handCounter, SLOT(updateNumber()));
connect(handCounter, SIGNAL(showContextMenu(const QPoint &)), hand, SLOT(showContextMenu(const QPoint &)));