require DetectCloaked as it is useless otherwise
This commit is contained in:
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
class RenderDetectionCircleInfo : ITraitInfo
|
class RenderDetectionCircleInfo : ITraitInfo, Requires<DetectCloakedInfo>
|
||||||
{
|
{
|
||||||
public object Create(ActorInitializer init) { return new RenderDetectionCircle(init.Self); }
|
public object Create(ActorInitializer init) { return new RenderDetectionCircle(init.Self); }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user