From c3228cecd0484555deb40a529e9c33936507b0b9 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Wed, 25 Aug 2010 19:35:14 +1200 Subject: [PATCH] helps to get the command syntax right --- OpenRA.Game/Widgets/Delegates/LobbyDelegate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Widgets/Delegates/LobbyDelegate.cs b/OpenRA.Game/Widgets/Delegates/LobbyDelegate.cs index 6758022fad..2218477f5e 100644 --- a/OpenRA.Game/Widgets/Delegates/LobbyDelegate.cs +++ b/OpenRA.Game/Widgets/Delegates/LobbyDelegate.cs @@ -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)); }