diff --git a/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs b/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs index c8b72cba6e..5799a5e04c 100644 --- a/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs +++ b/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs @@ -738,7 +738,7 @@ namespace OpenRA.Mods.Common.Server return true; } }, - { "race", + { "faction", s => { var parts = s.Split(' '); diff --git a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyUtils.cs b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyUtils.cs index fa0055479c..fe76073eb0 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyUtils.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyUtils.cs @@ -111,7 +111,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic { var item = ScrollItemWidget.Setup(itemTemplate, () => client.Faction == factionId, - () => orderManager.IssueOrder(Order.Command("race {0} {1}".F(client.Index, factionId)))); + () => orderManager.IssueOrder(Order.Command("faction {0} {1}".F(client.Index, factionId)))); var faction = factions[factionId]; item.Get("LABEL").GetText = () => faction.Name; var flag = item.Get("FLAG");