Allow canceling beacons with right click
This commit is contained in:
@@ -20,7 +20,7 @@ namespace OpenRA.Mods.RA.Orders
|
|||||||
if (mi.Button != MouseButton.Left)
|
if (mi.Button != MouseButton.Left)
|
||||||
world.CancelInputMode();
|
world.CancelInputMode();
|
||||||
|
|
||||||
if (!world.ShroudObscures(xy))
|
else if (!world.ShroudObscures(xy))
|
||||||
{
|
{
|
||||||
world.CancelInputMode();
|
world.CancelInputMode();
|
||||||
yield return new Order("PlaceBeacon", world.LocalPlayer.PlayerActor, false) { TargetLocation = xy, SuppressVisualFeedback = true };
|
yield return new Order("PlaceBeacon", world.LocalPlayer.PlayerActor, false) { TargetLocation = xy, SuppressVisualFeedback = true };
|
||||||
|
|||||||
Reference in New Issue
Block a user