mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
merge local heads
This commit is contained in:
commit
9e300c3a0d
1 changed files with 4 additions and 5 deletions
|
@ -616,11 +616,10 @@ public class JNIThread extends Thread {
|
|||
public static boolean tryConnectClient( int gamePtr, CurGameInfo gi )
|
||||
{
|
||||
XwJNI.comms_start( gamePtr );
|
||||
|
||||
boolean draw = gi.serverRole == DeviceRole.SERVER_ISCLIENT
|
||||
&& XwJNI.server_initClientConnection( gamePtr )
|
||||
&& XwJNI.server_do( gamePtr ); // call once enough?
|
||||
return draw;
|
||||
if ( gi.serverRole == DeviceRole.SERVER_ISCLIENT ) {
|
||||
XwJNI.server_initClientConnection( gamePtr );
|
||||
}
|
||||
return XwJNI.server_do( gamePtr );
|
||||
}
|
||||
|
||||
// public void run( boolean isUI, Runnable runnable )
|
||||
|
|
Loading…
Reference in a new issue