Fix SequenceReference definitions.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Chance (out of 100) the unit has to enter panic mode when attacking.")]
|
||||
public readonly int AttackPanicChance = 20;
|
||||
|
||||
[SequenceReference(null, true)]
|
||||
[SequenceReference(prefix: true)]
|
||||
public readonly string PanicSequencePrefix = "panic-";
|
||||
|
||||
public override object Create(ActorInitializer init) { return new ScaredyCat(init.Self, this); }
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Muzzle offset modifier to apply while prone.")]
|
||||
public readonly WVec ProneOffset = new WVec(500, 0, 0);
|
||||
|
||||
[SequenceReference(null, true)]
|
||||
[SequenceReference(prefix: true)]
|
||||
[Desc("Sequence prefix to apply while prone.")]
|
||||
public readonly string ProneSequencePrefix = "prone-";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user