fix #1063; don't issue orders while dragging a selection box
This commit is contained in:
@@ -80,7 +80,8 @@ namespace OpenRA.Widgets
|
|||||||
dragStart = dragEnd = xy;
|
dragStart = dragEnd = xy;
|
||||||
|
|
||||||
if (mi.Button == MouseButton.Right && mi.Event == MouseInputEvent.Down)
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user