mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
make players remote by default when adding them to networked games.
This commit is contained in:
parent
dd8950a826
commit
7d1a475e61
1 changed files with 2 additions and 0 deletions
|
@ -305,6 +305,8 @@ public class CurGameInfo {
|
|||
// We can add either by adding a player, if nPlayers <
|
||||
// MAX_NUM_PLAYERS, or by making an unusable player usable.
|
||||
if ( added ) {
|
||||
players[nPlayers].isLocal =
|
||||
serverRole == DeviceRole.SERVER_STANDALONE;
|
||||
++nPlayers;
|
||||
}
|
||||
return added;
|
||||
|
|
Loading…
Reference in a new issue