Add dictionary support for ActorReference.
This commit is contained in:
@@ -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.")]
|
||||
|
||||
Reference in New Issue
Block a user