Add a spawnpoint selector for bots (selector logic unimplemented)

This commit is contained in:
Paul Chote
2011-06-20 13:06:38 +12:00
parent b4ce97691b
commit c80fbaacd5
2 changed files with 57 additions and 50 deletions

View File

@@ -151,7 +151,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
CountryNames = Rules.Info["world"].Traits.WithInterface<OpenRA.Traits.CountryInfo>()
.ToDictionary(a => a.Race, a => a.Name);
CountryNames.Add("random", "Random");
CountryNames.Add("random", "Any");
var mapButton = lobby.GetWidget<ButtonWidget>("CHANGEMAP_BUTTON");
mapButton.OnClick = () =>