From 1bb18cbde5e0462ef11042b331b1c0975afe3fbb Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 10 Feb 2012 06:53:15 -0800 Subject: [PATCH] don't put up missing players dialog unless there's at least one. --- .../XWords4/src/org/eehouse/android/xw4/BoardActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java index 76d80e689..c0d67c6f9 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java @@ -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() {