Added support for filtering exits by production type.
This commit is contained in:
@@ -120,7 +120,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
tokens[a] = external.GrantCondition(a, self);
|
||||
}
|
||||
|
||||
public void UnitProducedByOther(Actor self, Actor producer, Actor produced)
|
||||
public void UnitProducedByOther(Actor self, Actor producer, Actor produced, string productionType)
|
||||
{
|
||||
// If the produced Actor doesn't occupy space, it can't be in range
|
||||
if (produced.OccupiesSpace == null)
|
||||
|
||||
Reference in New Issue
Block a user