Fix linter for player palettes.

This commit is contained in:
Matthias Mailänder
2020-07-12 13:54:45 +02:00
committed by reaperrr
parent 3bf61f1043
commit 0b03aca104
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ namespace OpenRA.Mods.Common.Projectiles
[Desc("Loop a randomly chosen sequence of Image from this list while this projectile is moving.")]
public readonly string[] Sequences = { "idle" };
[PaletteReference]
[PaletteReference("IsPlayerPalette")]
[Desc("The palette used to draw this projectile.")]
public readonly string Palette = "effect";

View File

@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Common.Projectiles
[Desc("Loop a randomly chosen sequence of Image from this list while this projectile is moving.")]
public readonly string[] Sequences = { "idle" };
[PaletteReference]
[PaletteReference("IsPlayerPalette")]
[Desc("Palette used to render the projectile sequence.")]
public readonly string Palette = "effect";