Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -19,7 +19,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 : TraitInfo, Requires<IMoveInfo>
|
||||
sealed class AttackMoveInfo : TraitInfo, Requires<IMoveInfo>
|
||||
{
|
||||
[VoiceReference]
|
||||
public readonly string Voice = "Action";
|
||||
@@ -53,7 +53,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public override object Create(ActorInitializer init) { return new AttackMove(init.Self, this); }
|
||||
}
|
||||
|
||||
class AttackMove : IResolveOrder, IOrderVoice
|
||||
sealed class AttackMove : IResolveOrder, IOrderVoice
|
||||
{
|
||||
public readonly AttackMoveInfo Info;
|
||||
readonly IMove move;
|
||||
|
||||
Reference in New Issue
Block a user