From 4a60d5675339c3fe7f93e479af74ff4c36a16a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 5 Dec 2021 13:27:51 +0100 Subject: [PATCH] Add a lint tag and documentation. --- OpenRA.Mods.Common/Traits/Render/WithGateSpriteBody.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Mods.Common/Traits/Render/WithGateSpriteBody.cs b/OpenRA.Mods.Common/Traits/Render/WithGateSpriteBody.cs index 3bcaad08ec..c4e2bfe04b 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithGateSpriteBody.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithGateSpriteBody.cs @@ -18,6 +18,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits.Render { + [Desc("This actor visually connects to walls and changes appearance when actors walk through it.")] class WithGateSpriteBodyInfo : WithSpriteBodyInfo, IWallConnectorInfo, Requires { [Desc("Cells (outside the gate footprint) that contain wall cells that can connect to the gate")] @@ -26,6 +27,7 @@ namespace OpenRA.Mods.Common.Traits.Render [Desc("Wall type for connections")] public readonly string Type = "wall"; + [SequenceReference] [Desc("Override sequence to use when fully open.")] public readonly string OpenSequence = null;