Don't cancel attack move cursor when holding shift
This commit is contained in:
@@ -125,9 +125,10 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
{
|
{
|
||||||
if (mi.Button == expectedButton)
|
if (mi.Button == expectedButton)
|
||||||
{
|
{
|
||||||
|
var queued = mi.Modifiers.HasModifier(Modifiers.Shift);
|
||||||
|
if (!queued)
|
||||||
world.CancelInputMode();
|
world.CancelInputMode();
|
||||||
|
|
||||||
var queued = mi.Modifiers.HasModifier(Modifiers.Shift);
|
|
||||||
var orderName = mi.Modifiers.HasModifier(Modifiers.Ctrl) ? "AssaultMove" : "AttackMove";
|
var orderName = mi.Modifiers.HasModifier(Modifiers.Ctrl) ? "AssaultMove" : "AttackMove";
|
||||||
|
|
||||||
// Cells outside the playable area should be clamped to the edge for consistency with move orders
|
// Cells outside the playable area should be clamped to the edge for consistency with move orders
|
||||||
|
|||||||
Reference in New Issue
Block a user