Don't hide tray if there's only one player.

This commit is contained in:
ehouse 2008-02-16 15:53:00 +00:00
parent c811943e12
commit ff457236ef

View file

@ -597,7 +597,9 @@ board_commitTurn( BoardCtxt* board )
/* Hide the tray so no peeking. Leave it hidden even if user /* Hide the tray so no peeking. Leave it hidden even if user
cancels as otherwise another player could get around cancels as otherwise another player could get around
passwords and peek at tiles. */ 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, if ( util_userQuery( board->util, QUERY_COMMIT_TURN,
stream ) ) { stream ) ) {