From f13c5e20b4b5c7d40b36529ac97a414a7ea98d6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 21 Jun 2014 12:31:38 +0200 Subject: [PATCH 1/2] add missing DomainIndex to Tiberian Sun --- mods/ts/rules/world.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ts/rules/world.yaml b/mods/ts/rules/world.yaml index 6fd8631aa1..a69133b65c 100644 --- a/mods/ts/rules/world.yaml +++ b/mods/ts/rules/world.yaml @@ -85,6 +85,7 @@ World: Country@1: Name: Nod Race: nod + DomainIndex: ResourceLayer: ResourceClaimLayer: FixedColorPalette@GreenTiberium: From ea4cde0da8dfcaf47eb8651f51aa0d05623c5e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 21 Jun 2014 12:37:04 +0200 Subject: [PATCH 2/2] document DomainIndex --- OpenRA.Mods.RA/World/DomainIndex.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.RA/World/DomainIndex.cs b/OpenRA.Mods.RA/World/DomainIndex.cs index 2c7def6793..2e6dbdbf76 100644 --- a/OpenRA.Mods.RA/World/DomainIndex.cs +++ b/OpenRA.Mods.RA/World/DomainIndex.cs @@ -18,7 +18,8 @@ using OpenRA.Traits; namespace OpenRA.Mods.RA { - // Identify untraversable regions of the map for faster pathfinding, especially with AI + [Desc("Identify untraversable regions of the map for faster pathfinding, especially with AI.", + "This trait is required. Every mod needs it attached to the world actor.")] class DomainIndexInfo : TraitInfo {} public class DomainIndex : IWorldLoaded