Require IntoActor everywhere.
This commit is contained in:
@@ -16,9 +16,10 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
[Desc("Replaces the captured actor with a new one.")]
|
||||
public class TransformOnCaptureInfo : ITraitInfo
|
||||
{
|
||||
[ActorReference] public readonly string IntoActor = null;
|
||||
[ActorReference, FieldLoader.Require] public readonly string IntoActor = null;
|
||||
public readonly int ForceHealthPercentage = 0;
|
||||
public readonly bool SkipMakeAnims = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user