Skip to content

Commit

Permalink
Fix condition reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Inq8 committed Mar 12, 2022
1 parent 84be9e2 commit 22a3d02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions OpenRA.Mods.CA/Traits/SupportPowers/DetonateWeaponPower.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public class DetonateWeaponPowerInfo : SupportPowerInfo, IRulesetLoaded
[Desc("Amount of time after detonation to remove the camera")]
public readonly int CameraRemoveDelay = 5;

[GrantedConditionReference]
[Desc("A condition to apply while active.")]
public readonly string ActiveCondition = null;

Expand Down
2 changes: 0 additions & 2 deletions mods/ca/rules/structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6503,8 +6503,6 @@ WEAT:
Sequence: active-overlay
Palette: d2keffect
RequiresCondition: active
ExternalCondition@ACTIVE:
Condition: active
SupportPowerChargeBar:
Power:
Amount: -200
Expand Down

0 comments on commit 22a3d02

Please # to comment.