mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
If platform doesn't provide a game id, use current seconds.
This commit is contained in:
parent
5a5cba9d1b
commit
42b314966b
1 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,9 @@ game_reset( MPFORMAL XWGame* game, CurGameInfo* gi,
|
|||
XP_ASSERT( !!gi );
|
||||
|
||||
checkServerRole( gi, &nPlayersHere, &nPlayersTotal );
|
||||
while ( 0 == gameID ) {
|
||||
gameID = util_getCurSeconds( util );
|
||||
}
|
||||
gi->gameID = gameID;
|
||||
|
||||
#ifndef XWFEATURE_STANDALONE_ONLY
|
||||
|
|
Loading…
Reference in a new issue