Require AircraftInfo for activity FallToEarth.
This commit is contained in:
@@ -15,7 +15,7 @@ using OpenRA.Traits;
|
|||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Causes aircraft husks that are spawned in the air to crash to the ground.")]
|
[Desc("Causes aircraft husks that are spawned in the air to crash to the ground.")]
|
||||||
public class FallsToEarthInfo : ITraitInfo, IRulesetLoaded
|
public class FallsToEarthInfo : ITraitInfo, IRulesetLoaded, Requires<AircraftInfo>
|
||||||
{
|
{
|
||||||
[WeaponReference]
|
[WeaponReference]
|
||||||
public readonly string Explosion = "UnitExplode";
|
public readonly string Explosion = "UnitExplode";
|
||||||
|
|||||||
Reference in New Issue
Block a user