Require AircraftInfo for activity FallToEarth.

This commit is contained in:
Matthias Mailänder
2016-02-13 14:24:19 +01:00
parent 613854de91
commit 00ecea03cb

View File

@@ -15,7 +15,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
{
[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]
public readonly string Explosion = "UnitExplode";