From 18481afda2b7265f1bf1bd91ab7a7963771b5b99 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 28 Jul 2011 22:34:47 +1200 Subject: [PATCH] fix #1063; don't issue orders while dragging a selection box --- OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs b/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs index 13f4b1dc63..fc48e6a0d5 100644 --- a/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs +++ b/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs @@ -80,7 +80,8 @@ namespace OpenRA.Widgets dragStart = dragEnd = xy; if (mi.Button == MouseButton.Right && mi.Event == MouseInputEvent.Down) - ApplyOrders(world, xy, mi); + if (SelectionBox == null) /* don't issue orders while selecting */ + ApplyOrders(world, xy, mi); return true; }