From 4f79aca4842c2d28f110578265e5a59660e10d85 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 15 Mar 2011 09:32:25 +1300 Subject: [PATCH] fix #643 --- OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs b/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs index 25b67d59a7..c9c879bb6a 100644 --- a/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs +++ b/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs @@ -38,15 +38,15 @@ namespace OpenRA.Mods.RA.Widgets bool ProcessInput(KeyInput e) { - if (!World.Selection.Actors.Any()) - return false; - if (e.Modifiers == Modifiers.None) { - if (e.KeyChar == '\b' || e.KeyChar == (char)127) + if (e.KeyChar == '\b' || e.KeyChar == (char)127) return CycleBases(); - - if (e.KeyChar == AttackMoveKey) + + if (!World.Selection.Actors.Any()) + return false; + + if (e.KeyChar == AttackMoveKey) return PerformAttackMove(); if (e.KeyChar == StopKey)