From cdec95b73aee35bd31c46be56e18b4fec38b1a50 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 7 Sep 2010 19:23:13 +1200 Subject: [PATCH] fix dodgy targeting of FIX --- OpenRA.Mods.RA/Repairable.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Mods.RA/Repairable.cs b/OpenRA.Mods.RA/Repairable.cs index 994c2b9f8a..0515e40f37 100644 --- a/OpenRA.Mods.RA/Repairable.cs +++ b/OpenRA.Mods.RA/Repairable.cs @@ -35,6 +35,7 @@ namespace OpenRA.Mods.RA { if (mi.Button != MouseButton.Right) return null; if (underCursor == null) return null; + if (mi.Modifiers.HasModifier(Modifiers.Ctrl)) return null; // force-fire, so don't do this. if (self.Info.Traits.Get().RepairBuildings.Contains(underCursor.Info.Name) && underCursor.Owner == self.Owner)