make players remote by default when adding them to networked games.

This commit is contained in:
Andy2 2011-07-08 06:25:10 -07:00
parent dd8950a826
commit 7d1a475e61

View file

@ -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;