mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +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 <
|
// We can add either by adding a player, if nPlayers <
|
||||||
// MAX_NUM_PLAYERS, or by making an unusable player usable.
|
// MAX_NUM_PLAYERS, or by making an unusable player usable.
|
||||||
if ( added ) {
|
if ( added ) {
|
||||||
|
players[nPlayers].isLocal =
|
||||||
|
serverRole == DeviceRole.SERVER_STANDALONE;
|
||||||
++nPlayers;
|
++nPlayers;
|
||||||
}
|
}
|
||||||
return added;
|
return added;
|
||||||
|
|
Loading…
Reference in a new issue