Fix SequenceReference definitions.

This commit is contained in:
Paul Chote
2020-08-12 17:46:37 +01:00
committed by abcdefg30
parent b985edbc29
commit b8e60ca8ec
7 changed files with 9 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Traits.Render
[Desc("This actor has a death animation.")]
public class WithDeathAnimationInfo : ConditionalTraitInfo, Requires<RenderSpritesInfo>
{
[SequenceReference(null, true)]
[SequenceReference(prefix: true)]
[Desc("Sequence prefix to play when this actor is killed by a warhead.")]
public readonly string DeathSequence = "die";