Units that have turrets while deployed now move their turrets back to their initial positions before undeploying
- Tested in TS with all deployable units and did a quick check for obvious issues in TD and RA.
This commit is contained in:
@@ -156,6 +156,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
return HasAchievedDesiredFacing;
|
||||
}
|
||||
|
||||
public void StopAiming(Actor self)
|
||||
{
|
||||
if (attack.IsAiming)
|
||||
attack.OnStopOrder(self);
|
||||
}
|
||||
|
||||
public virtual bool HasAchievedDesiredFacing
|
||||
{
|
||||
get { return DesiredFacing == null || TurretFacing == DesiredFacing.Value; }
|
||||
|
||||
Reference in New Issue
Block a user