check palette references

This commit is contained in:
Matthias Mailänder
2015-07-19 18:08:17 +02:00
parent ba8e292b71
commit 118782a85e
55 changed files with 191 additions and 58 deletions

View File

@@ -18,7 +18,7 @@ namespace OpenRA.Mods.Common.Traits
public class LeavesTrailsInfo : ITraitInfo
{
public readonly string Image = null;
public readonly string Palette = "effect";
[PaletteReference] public readonly string Palette = "effect";
[Desc("Only do so when the terrain types match with the previous cell.")]
public readonly string[] TerrainTypes = { };