From 4627387ae35241137b1c351e3c4b847ed141ac7d Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Tue, 15 Sep 2020 17:14:50 +0200 Subject: [PATCH] Document the 'CancelActivity' field --- OpenRA.Mods.Common/Traits/Capturable.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Mods.Common/Traits/Capturable.cs b/OpenRA.Mods.Common/Traits/Capturable.cs index 2cf9ea3022..bc00ca06db 100644 --- a/OpenRA.Mods.Common/Traits/Capturable.cs +++ b/OpenRA.Mods.Common/Traits/Capturable.cs @@ -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); }