mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
call server_do after gameinfo dialog returns in case a player has
become a robot.
This commit is contained in:
parent
133016bd1d
commit
a4ac6f9ff4
1 changed files with 3 additions and 1 deletions
|
@ -574,7 +574,9 @@ game_info( GtkWidget* widget, GtkAppGlobals* globals )
|
|||
/* Anything to do if OK is clicked? Changed names etc. already saved. Try
|
||||
server_do in case one's become a robot. */
|
||||
if ( newGameDialog( globals, XP_FALSE ) ) {
|
||||
(void)server_do( globals->cGlobals.game.server ); /* assign tiles, etc. */
|
||||
if ( server_do( globals->cGlobals.game.server ) ) {
|
||||
board_draw( globals->cGlobals.game.board );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue