diff --git a/OpenRA.Mods.RA/Cloak.cs b/OpenRA.Mods.RA/Cloak.cs index a9ebb58cfd..e01933543b 100644 --- a/OpenRA.Mods.RA/Cloak.cs +++ b/OpenRA.Mods.RA/Cloak.cs @@ -22,6 +22,7 @@ namespace OpenRA.Mods.RA public int CloakDelay = 30; // Ticks public string CloakSound = "subshow1.aud"; public string UncloakSound = "subshow1.aud"; + public readonly string Palette = "shadow"; public object Create(ActorInitializer init) { return new Cloak(init.self, this); } } @@ -70,7 +71,7 @@ namespace OpenRA.Mods.RA return rs; if (Cloaked && IsVisible(self)) - return rs.Select(a => a.WithPalette("shadow")); + return rs.Select(a => a.WithPalette(info.Palette)); else return Nothing; }