mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
don't overwrite gameID
This commit is contained in:
parent
4420049bd0
commit
f1f13c65a2
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ game_makeNewGame( MPFORMAL XWGame* game, CurGameInfo* gi,
|
|||
#endif
|
||||
assertUtilOK( util );
|
||||
|
||||
gi->gameID = makeGameID( util );
|
||||
if ( 0 == gi->gameID ) {
|
||||
gi->gameID = makeGameID( util );
|
||||
}
|
||||
|
||||
game->model = model_make( MPPARM(mpool) (DictionaryCtxt*)NULL, NULL, util,
|
||||
gi->boardSize );
|
||||
|
|
Loading…
Reference in a new issue