Move Cloak, HiddenUnderFog, FrozenUnderFog into Mods.RA; Simplify a pile of related stuff.
This commit is contained in:
@@ -162,11 +162,7 @@ namespace OpenRA.Traits
|
||||
}
|
||||
|
||||
public IEnumerable<int2> RadarSignatureCells(Actor self)
|
||||
{
|
||||
foreach (var mod in self.traits.WithInterface<IRadarVisibilityModifier>())
|
||||
if (!mod.VisibleOnRadar(self))
|
||||
return new int2[] {};
|
||||
|
||||
{
|
||||
return Footprint.Tiles(self);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user