mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
On client, when game ends locally set turn to -1 (nobody) so that
display won't be confusing during the interval before the server receives the move and responds with a game-over message.
This commit is contained in:
parent
f0c3c11dc8
commit
90dbd52bfd
1 changed files with 1 additions and 0 deletions
|
@ -1927,6 +1927,7 @@ nextTurn( ServerCtxt* server, XP_S16 nxtTurn )
|
|||
} else {
|
||||
XP_LOGF( "%s: Doing nothing; waiting for server to end game",
|
||||
__func__ );
|
||||
setTurn( server, -1 );
|
||||
/* I'm the client. Do ++nothing++. */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue