Document the 'CancelActivity' field

This commit is contained in:
abcdefg30
2020-09-15 17:14:50 +02:00
committed by Paul Chote
parent fd69bce609
commit 4627387ae3

View File

@@ -25,6 +25,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("What diplomatic stances can be captured by this actor.")]
public readonly Stance ValidStances = Stance.Neutral | Stance.Enemy;
[Desc("Cancel the actor's current activity when getting captured.")]
public readonly bool CancelActivity = false;
public override object Create(ActorInitializer init) { return new Capturable(init.Self, this); }