Add dictionary support for ActorReference.

This commit is contained in:
Paul Chote
2020-08-28 21:37:56 +01:00
committed by reaperrr
parent 290e214638
commit 7f7bce50dc
3 changed files with 15 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ namespace OpenRA.Mods.Cnc.Traits
{
[FieldLoader.Require]
[Desc("Drop pod unit")]
[ActorReference(typeof(AircraftInfo), typeof(FallsToEarthInfo))]
[ActorReference(new[] { typeof(AircraftInfo), typeof(FallsToEarthInfo) })]
public readonly string[] UnitTypes = null;
[Desc("Number of drop pods spawned.")]