Remove bogus Requires<HealthInfo> from GrantConditionOnDisabled.

This commit is contained in:
Paul Chote
2017-03-26 15:45:58 +01:00
parent 6744cec239
commit ac53bc502e

View File

@@ -15,7 +15,7 @@ namespace OpenRA.Mods.Common.Traits
{ {
[Desc("Applies a condition to the actor when it is disabled.", [Desc("Applies a condition to the actor when it is disabled.",
"This is a temporary shim to help migration away from the legacy IDisable code")] "This is a temporary shim to help migration away from the legacy IDisable code")]
public class GrantConditionOnDisabledInfo : ITraitInfo, Requires<HealthInfo> public class GrantConditionOnDisabledInfo : ITraitInfo
{ {
[FieldLoader.Require] [FieldLoader.Require]
[GrantedConditionReference] [GrantedConditionReference]