From 01a724d632395bdb38cdc380c407b6d82e57a73f Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 6 Apr 2012 16:13:33 +1200 Subject: [PATCH] only allow SpyInfiltrate/Disguise orders on Spy when not doing ForceAttack --- OpenRA.Mods.RA/Spy.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.RA/Spy.cs b/OpenRA.Mods.RA/Spy.cs index 0ca0063119..ed453c2a7d 100644 --- a/OpenRA.Mods.RA/Spy.cs +++ b/OpenRA.Mods.RA/Spy.cs @@ -84,8 +84,8 @@ namespace OpenRA.Mods.RA { get { - yield return new UnitTraitOrderTargeter( "SpyInfiltrate", 5, "enter", true, false ); - yield return new UnitTraitOrderTargeter( "Disguise", 5, "ability", true, true ); + yield return new UnitTraitOrderTargeter( "SpyInfiltrate", 5, "enter", true, false ) { ForceAttack=false }; + yield return new UnitTraitOrderTargeter( "Disguise", 5, "ability", true, true ) { ForceAttack=false }; } }