diff --git a/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs b/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs index ca05bf27ed..0c2ed93183 100644 --- a/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs +++ b/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs @@ -148,6 +148,10 @@ namespace OpenRA.Mods.RA.Widgets if (actor.First == null) return true; + var ati = actor.First.Info.Traits.GetOrDefault(); + if (ati == null || !ati.EnableStances) + return false; + var stances = Enum.GetValues(); var nextStance = stances.Concat(stances) .SkipWhile(s => s != actor.Second.PredictedStance)