Merge pull request #10744 from Mailaender/aircraft-falls-to-earth

Added missing Requires<AircraftInfo> to FallsToEarthInfo.
This commit is contained in:
Oliver Brakmann
2016-02-13 18:56:22 +01:00

View File

@@ -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";