Use nameof for ContrailEndColor description

This commit is contained in:
Gustas
2023-03-16 19:54:58 +02:00
committed by Matthias Mailänder
parent 7ef1dccdcf
commit 1c2eaa2654
3 changed files with 3 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ namespace OpenRA.Mods.Common.Projectiles
[Desc("The alpha value [from 0 to 255] of color at the contrail the start.")]
public readonly int ContrailStartColorAlpha = 255;
[Desc("RGB color at the contrail end. Set to start color if undefined")]
[Desc("RGB color at the contrail end. Will default to " + nameof(ContrailStartColor) + " if left undefined")]
public readonly Color? ContrailEndColor;
[Desc("Use player remap color instead of a custom color at the contrail end.")]

View File

@@ -154,7 +154,7 @@ namespace OpenRA.Mods.Common.Projectiles
[Desc("The alpha value [from 0 to 255] of color at the contrail the start.")]
public readonly int ContrailStartColorAlpha = 255;
[Desc("RGB color at the contrail end. Set to start color if undefined")]
[Desc("RGB color at the contrail end. Will default to " + nameof(ContrailStartColor) + " if left undefined")]
public readonly Color? ContrailEndColor;
[Desc("Use player remap color instead of a custom color at the contrail end.")]

View File

@@ -48,7 +48,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("The alpha value [from 0 to 255] of color at the contrail the start.")]
public readonly int StartColorAlpha = 255;
[Desc("RGB color at the contrail end. Set to start color if undefined")]
[Desc("RGB color at the contrail end. Will default to " + nameof(StartColor) + " if left undefined")]
public readonly Color? EndColor;
[Desc("Use player remap color instead of a custom color at the contrail end.")]