Use nameof() to reference image fields.
This commit is contained in:
@@ -40,7 +40,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
public readonly string EntryEffect = "podring";
|
||||
|
||||
[Desc("Effect sequence to display in the air.")]
|
||||
[SequenceReference("EntryEffect")]
|
||||
[SequenceReference(nameof(EntryEffect))]
|
||||
public readonly string EntryEffectSequence = "idle";
|
||||
|
||||
[PaletteReference]
|
||||
|
||||
Reference in New Issue
Block a user