undo hacked config

This commit is contained in:
Chris Forbes
2010-03-17 22:02:18 +13:00
parent a5d3ac1403
commit c330f2f06a
2 changed files with 5 additions and 6 deletions

View File

@@ -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()

View File

@@ -1,7 +1,4 @@
[Settings]
NetworkHost=localhost
NetworkPort=1234
InitialMods=ra
Width=800
Height=600
Fullscreen=no
InitialMods=ra