Unhardcode internal terrain palette name from all over the codebase

This commit is contained in:
Pavel Penev
2016-01-02 16:30:43 +02:00
parent 0c51d73be9
commit 861d1368a4
14 changed files with 18 additions and 18 deletions

View File

@@ -18,7 +18,7 @@ namespace OpenRA.Mods.D2k.Traits
public class BuildableTerrainLayerInfo : ITraitInfo
{
[Desc("Palette to render the layer sprites in.")]
public readonly string Palette = "terrain";
public readonly string Palette = TileSet.TerrainPaletteInternalName;
public object Create(ActorInitializer init) { return new BuildableTerrainLayer(init.Self, this); }
}