Fix actors with AttackFollow moving away from their targets on amove

This commit is contained in:
abcdefg30
2022-03-27 19:04:32 +02:00
committed by Matthias Mailänder
parent b88ebd8499
commit 0134f63f4d
3 changed files with 27 additions and 14 deletions

View File

@@ -309,9 +309,9 @@ namespace OpenRA.Mods.Common.Traits
}
[RequireExplicitImplementation]
public interface IDisableAutoTarget
public interface IOverrideAutoTarget
{
bool DisableAutoTarget(Actor self);
bool TryGetAutoTargetOverride(Actor self, out Target target);
}
[RequireExplicitImplementation]