undo hacked config
This commit is contained in:
@@ -75,13 +75,15 @@ namespace OpenRA
|
|||||||
public Player( World world, int index, Session.Client client )
|
public Player( World world, int index, Session.Client client )
|
||||||
{
|
{
|
||||||
Shroud = new Shroud(this, world.Map);
|
Shroud = new Shroud(this, world.Map);
|
||||||
|
|
||||||
this.PlayerActor = world.CreateActor("Player", new int2(int.MaxValue, int.MaxValue), this);
|
this.PlayerActor = world.CreateActor("Player", new int2(int.MaxValue, int.MaxValue), this);
|
||||||
this.Index = index;
|
this.Index = index;
|
||||||
this.InternalName = "Multi{0}".F(index);
|
this.InternalName = "Multi{0}".F(index);
|
||||||
|
|
||||||
this.PaletteIndex = client != null ? client.PaletteIndex : index;
|
this.PaletteIndex = client != null ? client.PaletteIndex : index;
|
||||||
this.PlayerName = client != null ? client.Name : "Player {0}".F(index+1);
|
this.PlayerName = client != null ? client.Name : "Player {0}".F(index+1);
|
||||||
this.Country = world.GetCountries().FirstOrDefault( c => client != null && client.Country == c.Name )
|
this.Country = world.GetCountries()
|
||||||
|
.FirstOrDefault( c => client != null && client.Country == c.Name )
|
||||||
?? world.GetCountries().First();
|
?? world.GetCountries().First();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,3 @@
|
|||||||
NetworkHost=localhost
|
NetworkHost=localhost
|
||||||
NetworkPort=1234
|
NetworkPort=1234
|
||||||
InitialMods=ra
|
InitialMods=ra
|
||||||
Width=800
|
|
||||||
Height=600
|
|
||||||
Fullscreen=no
|
|
||||||
Reference in New Issue
Block a user