Use nameof() in PaletteReference.

This commit is contained in:
Paul Chote
2020-08-15 11:12:53 +01:00
committed by abcdefg30
parent 0aa5e07252
commit ef69a3de66
31 changed files with 36 additions and 36 deletions

View File

@@ -37,7 +37,7 @@ namespace OpenRA.Mods.Common.Traits.Render
[Desc("Parachute closing sequence. Defaults to opening sequence played backwards.")]
public readonly string ClosingSequence = null;
[PaletteReference("IsPlayerPalette")]
[PaletteReference(nameof(IsPlayerPalette))]
[Desc("Palette used to render the parachute.")]
public readonly string Palette = "player";