Fix and enable SA1133, SA1134 style rules.
This commit is contained in:
@@ -17,11 +17,13 @@ namespace OpenRA.Traits
|
||||
[Desc("Add this to the World actor definition.")]
|
||||
public class FixedColorPaletteInfo : ITraitInfo
|
||||
{
|
||||
[PaletteReference]
|
||||
[Desc("The name of the palette to base off.")]
|
||||
[PaletteReference] public readonly string Base = TileSet.TerrainPaletteInternalName;
|
||||
public readonly string Base = TileSet.TerrainPaletteInternalName;
|
||||
|
||||
[PaletteDefinition]
|
||||
[Desc("The name of the resulting palette")]
|
||||
[PaletteDefinition] public readonly string Name = "resources";
|
||||
public readonly string Name = "resources";
|
||||
|
||||
[Desc("Remap these indices to pre-defined colors.")]
|
||||
public readonly int[] RemapIndex = { };
|
||||
|
||||
Reference in New Issue
Block a user