mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +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
|
/* 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. */
|
||||||
|
if ( gi_countLocalHumans( board->gi ) > 1 ) {
|
||||||
result = board_hideTray( board );
|
result = board_hideTray( board );
|
||||||
|
}
|
||||||
|
|
||||||
if ( util_userQuery( board->util, QUERY_COMMIT_TURN,
|
if ( util_userQuery( board->util, QUERY_COMMIT_TURN,
|
||||||
stream ) ) {
|
stream ) ) {
|
||||||
|
|
Loading…
Reference in a new issue