don't overwrite gameID

This commit is contained in:
Eric House 2013-12-16 08:05:56 -08:00
parent 4420049bd0
commit f1f13c65a2

View file

@ -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 );