call informMissing after loading game -- before that it'll never be 0.

This commit is contained in:
Eric House 2012-02-12 22:27:58 -08:00
parent f40f2bffcf
commit 1ed1bce7d1

View file

@ -216,10 +216,6 @@ syncPlayers( ServerCtxt* server )
}
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
# define syncPlayers( server )
@ -399,6 +395,9 @@ server_makeFromStream( MPFORMAL XWStreamCtxt* stream, ModelCtxt* model,
server->nv.prevWordsStream = readStreamIf( server, stream );
}
util_informMissing( util, server->vol.gi->serverRole == SERVER_ISSERVER,
comms_getConType( comms ),
server->nv.pendingRegistrations );
return server;
} /* server_makeFromStream */