diff --git a/OpenRA.Mods.Cnc/Traits/Render/WithDeliveryAnimation.cs b/OpenRA.Mods.Cnc/Traits/Render/WithDeliveryAnimation.cs index 6676a486ed..b58f701964 100644 --- a/OpenRA.Mods.Cnc/Traits/Render/WithDeliveryAnimation.cs +++ b/OpenRA.Mods.Cnc/Traits/Render/WithDeliveryAnimation.cs @@ -18,9 +18,9 @@ namespace OpenRA.Mods.Cnc.Traits.Render [Desc("Building animation to play when ProductionAirdrop is used to deliver units.")] public class WithDeliveryAnimationInfo : ITraitInfo, Requires { - public readonly string ActiveSequence = "active"; + [SequenceReference] public readonly string ActiveSequence = "active"; - public readonly string IdleSequence = "idle"; + [SequenceReference] public readonly string IdleSequence = "idle"; public object Create(ActorInitializer init) { return new WithDeliveryAnimation(init.Self, this); } } diff --git a/OpenRA.Mods.Cnc/Traits/Render/WithRoof.cs b/OpenRA.Mods.Cnc/Traits/Render/WithRoof.cs index 7659e31c49..6540366e7f 100644 --- a/OpenRA.Mods.Cnc/Traits/Render/WithRoof.cs +++ b/OpenRA.Mods.Cnc/Traits/Render/WithRoof.cs @@ -19,7 +19,7 @@ namespace OpenRA.Mods.Cnc.Traits.Render [Desc("Provides an overlay for the Tiberian Dawn hover craft.")] public class WithRoofInfo : ITraitInfo, Requires { - public readonly string Sequence = "roof"; + [SequenceReference] public readonly string Sequence = "roof"; public object Create(ActorInitializer init) { return new WithRoof(init.Self, this); } }