mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Don't hide tray if there's only one player.
This commit is contained in:
parent
c811943e12
commit
ff457236ef
1 changed files with 3 additions and 1 deletions
|
@ -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 ) ) {
|
||||
|
|
Loading…
Reference in a new issue