helps to get the command syntax right

This commit is contained in:
Chris Forbes
2010-08-25 19:35:14 +12:00
parent 47eacc5b80
commit c3228cecd0

View File

@@ -271,7 +271,7 @@ namespace OpenRA.Widgets.Delegates
else
{
if (s.Bot == null)
Game.IssueOrder(Order.Command("slot_bot HackyAI"));
Game.IssueOrder(Order.Command("slot_bot {0} HackyAI".F(s.Index)));
else
Game.IssueOrder(Order.Command("slot_close " + s.Index));
}