Rewrite sequence linting / missing file handling.
- Distinguish between missing sequences and missing sprites - Lint default sequences as well as maps - Improved performance - Correctly handle null images
This commit is contained in:
@@ -55,7 +55,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Trail animation.")]
|
||||
public readonly string TrailImage = null;
|
||||
|
||||
[SequenceReference("TrailImage")]
|
||||
[SequenceReference("TrailImage", allowNullImage: true)]
|
||||
[Desc("Loop a randomly chosen sequence of TrailImage from this list while this projectile is moving.")]
|
||||
public readonly string[] TrailSequences = { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user