remove duplication between CncMapChooserLogic and MapChooserLogic

This commit is contained in:
Chris Forbes
2011-10-06 22:30:50 +13:00
parent bdcd8097e5
commit d3b5939613
6 changed files with 46 additions and 114 deletions

View File

@@ -151,7 +151,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
return sc;
};
CountryNames = Rules.Info["world"].Traits.WithInterface<OpenRA.Traits.CountryInfo>()
CountryNames = Rules.Info["world"].Traits.WithInterface<CountryInfo>()
.ToDictionary(a => a.Race, a => a.Name);
CountryNames.Add("random", "Any");