mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
call informMissing after loading game -- before that it'll never be 0.
This commit is contained in:
parent
f40f2bffcf
commit
1ed1bce7d1
1 changed files with 3 additions and 4 deletions
|
@ -216,10 +216,6 @@ syncPlayers( ServerCtxt* server )
|
||||||
}
|
}
|
||||||
player->deviceIndex = lp->isLocal? SERVER_DEVICE : UNKNOWN_DEVICE;
|
player->deviceIndex = lp->isLocal? SERVER_DEVICE : UNKNOWN_DEVICE;
|
||||||
}
|
}
|
||||||
util_informMissing( server->vol.util,
|
|
||||||
server->vol.gi->serverRole == SERVER_ISSERVER,
|
|
||||||
comms_getConType( server->vol.comms ),
|
|
||||||
server->nv.pendingRegistrations );
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define syncPlayers( server )
|
# define syncPlayers( server )
|
||||||
|
@ -399,6 +395,9 @@ server_makeFromStream( MPFORMAL XWStreamCtxt* stream, ModelCtxt* model,
|
||||||
server->nv.prevWordsStream = readStreamIf( server, stream );
|
server->nv.prevWordsStream = readStreamIf( server, stream );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
util_informMissing( util, server->vol.gi->serverRole == SERVER_ISSERVER,
|
||||||
|
comms_getConType( comms ),
|
||||||
|
server->nv.pendingRegistrations );
|
||||||
return server;
|
return server;
|
||||||
} /* server_makeFromStream */
|
} /* server_makeFromStream */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue