Remove Bot: label from bots in the slot dropdown.

This commit is contained in:
Paul Chote
2011-06-19 13:04:42 +12:00
parent e7543f28df
commit ac68f9dab3
2 changed files with 2 additions and 2 deletions

View File

@@ -308,7 +308,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
foreach (var b in Rules.Info["player"].Traits.WithInterface<IBotInfo>().Select(t => t.Name)) foreach (var b in Rules.Info["player"].Traits.WithInterface<IBotInfo>().Select(t => t.Name))
{ {
var bot = b; var bot = b;
options.Add(new SlotDropDownOption("Bot: {0}".F(bot), options.Add(new SlotDropDownOption(bot,
"slot_bot {0} {1}".F(slot.PlayerReference, bot), "slot_bot {0} {1}".F(slot.PlayerReference, bot),
() => client != null && client.Bot == bot)); () => client != null && client.Bot == bot));
} }

View File

@@ -325,7 +325,7 @@ Container@SERVER_LOBBY:
Height:25 Height:25
X:0 X:0
Y:0 Y:0
Text:Name Text:Player
Align:Center Align:Center
Font:Bold Font:Bold
Label@LABEL_LOBBY_COLOR: Label@LABEL_LOBBY_COLOR: