diff --git a/OpenRA.Game/Player.cs b/OpenRA.Game/Player.cs index 0b61613a88..3ea0846b78 100644 --- a/OpenRA.Game/Player.cs +++ b/OpenRA.Game/Player.cs @@ -75,14 +75,16 @@ namespace OpenRA public Player( World world, int index, Session.Client client ) { Shroud = new Shroud(this, world.Map); + this.PlayerActor = world.CreateActor("Player", new int2(int.MaxValue, int.MaxValue), this); this.Index = index; this.InternalName = "Multi{0}".F(index); this.PaletteIndex = client != null ? client.PaletteIndex : index; this.PlayerName = client != null ? client.Name : "Player {0}".F(index+1); - this.Country = world.GetCountries().FirstOrDefault( c => client != null && client.Country == c.Name ) - ?? world.GetCountries().First(); + this.Country = world.GetCountries() + .FirstOrDefault( c => client != null && client.Country == c.Name ) + ?? world.GetCountries().First(); } void UpdatePower() diff --git a/settings-netplay-ra.ini b/settings-netplay-ra.ini index e08a811e2f..be73876bc4 100644 --- a/settings-netplay-ra.ini +++ b/settings-netplay-ra.ini @@ -1,7 +1,4 @@ [Settings] NetworkHost=localhost NetworkPort=1234 -InitialMods=ra -Width=800 -Height=600 -Fullscreen=no \ No newline at end of file +InitialMods=ra \ No newline at end of file