Add missing ActorReferences to yaml dictionaries.

This commit is contained in:
Paul Chote
2020-08-28 21:38:54 +01:00
committed by reaperrr
parent 7f7bce50dc
commit b72a58b917
3 changed files with 3 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ namespace OpenRA.Mods.Cnc.Traits
"Unload, Infiltrate, Demolish, Move.")]
public readonly RevealDisguiseType RevealDisguiseOn = RevealDisguiseType.Attack;
[ActorReference(dictionaryReference: LintDictionaryReference.Keys)]
[Desc("Conditions to grant when disguised as specified actor.",
"A dictionary of [actor id]: [condition].")]
public readonly Dictionary<string, string> DisguisedAsConditions = new Dictionary<string, string>();