Merge pull request #3011 from Mailaender/cloaking
Render mines properly again and fix empty camo pillboxes in RA shellmap
This commit is contained in:
@@ -74,7 +74,10 @@ namespace OpenRA.Mods.RA
|
||||
return r;
|
||||
|
||||
if (Cloaked && IsVisible(self.World.RenderedShroud, self))
|
||||
return r.Select(a => a.WithPalette(wr.Palette(info.Palette)));
|
||||
if (string.IsNullOrEmpty(info.Palette))
|
||||
return r;
|
||||
else
|
||||
return r.Select(a => a.WithPalette(wr.Palette(info.Palette)));
|
||||
else
|
||||
return Nothing;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user