Remove bogus Requires<HealthInfo> from GrantConditionOnDisabled.
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user