mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
If platform doesn't provide a game id, use current seconds.
This commit is contained in:
parent
d4de570358
commit
5c2f7496b8
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