diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/CommandBarLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/CommandBarLogic.cs index 32d5ff28c2..53afcbe675 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/CommandBarLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/CommandBarLogic.cs @@ -209,7 +209,7 @@ namespace OpenRA.Mods.Common.Widgets { // HACK: enable attack move to be triggered if the ctrl key is pressed var modified = new Hotkey(e.Key, e.Modifiers & ~Modifiers.Ctrl); - if (attackMoveButton.Key.GetValue() == modified) + if (!attackMoveDisabled && attackMoveButton.Key.GetValue() == modified) { attackMoveButton.OnKeyPress(e); return true;