Fix linter for player palettes.
This commit is contained in:
committed by
reaperrr
parent
3bf61f1043
commit
0b03aca104
@@ -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.")]
|
[Desc("Loop a randomly chosen sequence of Image from this list while this projectile is moving.")]
|
||||||
public readonly string[] Sequences = { "idle" };
|
public readonly string[] Sequences = { "idle" };
|
||||||
|
|
||||||
[PaletteReference]
|
[PaletteReference("IsPlayerPalette")]
|
||||||
[Desc("The palette used to draw this projectile.")]
|
[Desc("The palette used to draw this projectile.")]
|
||||||
public readonly string Palette = "effect";
|
public readonly string Palette = "effect";
|
||||||
|
|
||||||
|
|||||||
@@ -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.")]
|
[Desc("Loop a randomly chosen sequence of Image from this list while this projectile is moving.")]
|
||||||
public readonly string[] Sequences = { "idle" };
|
public readonly string[] Sequences = { "idle" };
|
||||||
|
|
||||||
[PaletteReference]
|
[PaletteReference("IsPlayerPalette")]
|
||||||
[Desc("Palette used to render the projectile sequence.")]
|
[Desc("Palette used to render the projectile sequence.")]
|
||||||
public readonly string Palette = "effect";
|
public readonly string Palette = "effect";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user