From ff457236efc855ec527d632e9e230707f5bfc073 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 16 Feb 2008 15:53:00 +0000 Subject: [PATCH] Don't hide tray if there's only one player. --- common/board.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/board.c b/common/board.c index 54728306c..15cd1e6e4 100644 --- a/common/board.c +++ b/common/board.c @@ -597,7 +597,9 @@ board_commitTurn( BoardCtxt* board ) /* Hide the tray so no peeking. Leave it hidden even if user cancels as otherwise another player could get around passwords and peek at tiles. */ - result = board_hideTray( board ); + if ( gi_countLocalHumans( board->gi ) > 1 ) { + result = board_hideTray( board ); + } if ( util_userQuery( board->util, QUERY_COMMIT_TURN, stream ) ) {