fix stance icon not updating when selecting units

This commit is contained in:
Thomas Christlieb
2023-03-22 16:51:17 +01:00
committed by Gustas
parent 378f66a1ff
commit 9e081763ad
2 changed files with 2 additions and 4 deletions

View File

@@ -175,7 +175,6 @@ namespace OpenRA.Mods.Common.Scripting
if (!Enum<UnitStance>.TryParse(value, true, out var stance))
throw new LuaException($"Unknown stance type '{value}'");
autotarget.PredictedStance = stance;
autotarget.SetStance(Self, stance);
}
}