don't put up missing players dialog unless there's at least one.

This commit is contained in:
Eric House 2012-02-10 06:53:15 -08:00
parent d469467fcc
commit 1bb18cbde5

View file

@ -1331,7 +1331,7 @@ public class BoardActivity extends XWActivity
CommsAddrRec.CommsConnType connType,
final int nMissingPlayers )
{
if ( isServer && !m_haveAskedMissing
if ( 0 < nMissingPlayers && isServer && !m_haveAskedMissing
&& CommsAddrRec.CommsConnType.COMMS_CONN_BT == connType ) {
m_haveAskedMissing = true;
post( new Runnable() {