This commit is contained in:
Matthias Mailänder
2014-06-22 13:30:09 +02:00
parent b70c56927f
commit 6eabd080b8

View File

@@ -48,7 +48,7 @@ namespace OpenRA
static CountryInfo ChooseCountry(World world, string name)
{
var selectableCountries = world.Map.Rules.Actors["world"].Traits
.WithInterface<CountryInfo>().Where( c => c.Selectable )
.WithInterface<CountryInfo>().Where(c => c.Selectable)
.ToArray();
return selectableCountries.FirstOrDefault(c => c.Race == name)