diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/CycleBasesHotkeyLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/CycleBasesHotkeyLogic.cs index c27c965ea9..0b403410d7 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/CycleBasesHotkeyLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/Hotkeys/CycleBasesHotkeyLogic.cs @@ -41,6 +41,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic.Ingame var bases = world.ActorsHavingTrait() .Where(a => a.Owner == player) + .OrderByDescending(a => a.IsPrimaryBuilding()) + .ThenBy(a => a.ActorID) .ToList(); // If no BaseBuilding exist pick the first selectable Building.