diff --git a/OpenRA.Mods.Common/Scripting/Properties/GeneralProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/GeneralProperties.cs index 78b43bb2df..9dd8dd43de 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/GeneralProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/GeneralProperties.cs @@ -169,6 +169,7 @@ namespace OpenRA.Mods.Common.Scripting if (!Enum.TryParse(value, true, out stance)) throw new LuaException("Unknown stance type '{0}'".F(value)); + autotarget.PredictedStance = stance; autotarget.SetStance(Self, stance); } }