Merge pull request #8583 from reaperrr/fix-attackmove-req

Fixed potential AttackMove crash
This commit is contained in:
Pavel Penev
2015-06-28 17:16:19 +03:00

View File

@@ -16,7 +16,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
{
[Desc("Provides access to the attack-move command, which will make the actor automatically engage viable targets while moving to the destination.")]
class AttackMoveInfo : ITraitInfo
class AttackMoveInfo : ITraitInfo, Requires<IMoveInfo>
{
[VoiceReference] public readonly string Voice = "Action";