Nicer tooltips

This commit is contained in:
Paul Chote
2010-06-30 19:02:37 +12:00
parent 51079f0876
commit e5ce9196fa
5 changed files with 42 additions and 30 deletions

View File

@@ -75,7 +75,7 @@ namespace OpenRA
PlayerName = client.Name;
InternalName = "Multi{0}".F(client.Index);
Country = world.GetCountries()
.FirstOrDefault(c => client != null && client.Country == c.Name)
.FirstOrDefault(c => client != null && client.Country == c.Race)
?? world.GetCountries().Random(world.SharedRandom);
}