Allow canceling beacons with right click

This commit is contained in:
abcdefg30
2014-09-19 13:36:17 +02:00
parent 6c399e50a8
commit c34719e597

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.RA.Orders
if (mi.Button != MouseButton.Left)
world.CancelInputMode();
if (!world.ShroudObscures(xy))
else if (!world.ShroudObscures(xy))
{
world.CancelInputMode();
yield return new Order("PlaceBeacon", world.LocalPlayer.PlayerActor, false) { TargetLocation = xy, SuppressVisualFeedback = true };