From 52a4b5acd740a2581c5aecc8c57634dc84c39ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Fri, 7 May 2021 23:17:14 +0200 Subject: [PATCH] Fix documentation about GeneratesShroud to CreatesShroud rename. --- OpenRA.Mods.Common/Traits/RevealOnDeath.cs | 2 +- OpenRA.Mods.Common/Traits/RevealOnFire.cs | 2 +- OpenRA.Mods.Common/Traits/RevealsMap.cs | 2 +- OpenRA.Mods.Common/Traits/RevealsShroud.cs | 2 +- OpenRA.Mods.Common/Traits/SupportPowers/NukePower.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/RevealOnDeath.cs b/OpenRA.Mods.Common/Traits/RevealOnDeath.cs index f50a5e4b43..e60503a1e9 100644 --- a/OpenRA.Mods.Common/Traits/RevealOnDeath.cs +++ b/OpenRA.Mods.Common/Traits/RevealOnDeath.cs @@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Traits [Desc("Radius of the reveal around this actor.")] public readonly WDist Radius = new WDist(1536); - [Desc("Can this actor be revealed through shroud generated by the GeneratesShroud trait?")] + [Desc("Can this actor be revealed through shroud generated by the CreatesShroud trait?")] public readonly bool RevealGeneratedShroud = true; [Desc("DeathTypes for which shroud will be revealed.", diff --git a/OpenRA.Mods.Common/Traits/RevealOnFire.cs b/OpenRA.Mods.Common/Traits/RevealOnFire.cs index efb9978ce9..d6cb9f6dc0 100644 --- a/OpenRA.Mods.Common/Traits/RevealOnFire.cs +++ b/OpenRA.Mods.Common/Traits/RevealOnFire.cs @@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Traits [Desc("Radius of the reveal around this actor.")] public readonly WDist Radius = new WDist(1536); - [Desc("Can this actor be revealed through shroud generated by the GeneratesShroud trait?")] + [Desc("Can this actor be revealed through shroud generated by the CreatesShroud trait?")] public readonly bool RevealGeneratedShroud = true; public override object Create(ActorInitializer init) { return new RevealOnFire(init.Self, this); } diff --git a/OpenRA.Mods.Common/Traits/RevealsMap.cs b/OpenRA.Mods.Common/Traits/RevealsMap.cs index ee87ee7897..919f8e36a8 100644 --- a/OpenRA.Mods.Common/Traits/RevealsMap.cs +++ b/OpenRA.Mods.Common/Traits/RevealsMap.cs @@ -19,7 +19,7 @@ namespace OpenRA.Mods.Common.Traits [Desc("Relationships the watching player needs to see the shroud removed.")] public readonly PlayerRelationship ValidRelationships = PlayerRelationship.Ally; - [Desc("Can this actor reveal shroud generated by the `GeneratesShroud` trait?")] + [Desc("Can this actor reveal shroud generated by the `CreatesShroud` trait?")] public readonly bool RevealGeneratedShroud = true; public override object Create(ActorInitializer init) { return new RevealsMap(this); } diff --git a/OpenRA.Mods.Common/Traits/RevealsShroud.cs b/OpenRA.Mods.Common/Traits/RevealsShroud.cs index 5bf298360a..f7c6c49475 100644 --- a/OpenRA.Mods.Common/Traits/RevealsShroud.cs +++ b/OpenRA.Mods.Common/Traits/RevealsShroud.cs @@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Traits [Desc("Relationships the watching player needs to see the shroud removed.")] public readonly PlayerRelationship ValidRelationships = PlayerRelationship.Ally; - [Desc("Can this actor reveal shroud generated by the GeneratesShroud trait?")] + [Desc("Can this actor reveal shroud generated by the CreatesShroud trait?")] public readonly bool RevealGeneratedShroud = true; public override object Create(ActorInitializer init) { return new RevealsShroud(init.Self, this); } diff --git a/OpenRA.Mods.Common/Traits/SupportPowers/NukePower.cs b/OpenRA.Mods.Common/Traits/SupportPowers/NukePower.cs index 53abf55075..91ef6d12fc 100644 --- a/OpenRA.Mods.Common/Traits/SupportPowers/NukePower.cs +++ b/OpenRA.Mods.Common/Traits/SupportPowers/NukePower.cs @@ -91,7 +91,7 @@ namespace OpenRA.Mods.Common.Traits [Desc("Range of cells the camera should reveal around target cell.")] public readonly WDist CameraRange = WDist.Zero; - [Desc("Can the camera reveal shroud generated by the GeneratesShroud trait?")] + [Desc("Can the camera reveal shroud generated by the CreatesShroud trait?")] public readonly bool RevealGeneratedShroud = true; [Desc("Reveal cells to players with these relationships only.")]