Extend INotifyOtherProduction to all actors.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace OpenRA.Mods.RA
|
||||
public void UnitProducedByOther(Actor self, Actor producer, Actor produced)
|
||||
{
|
||||
// No recursive cloning!
|
||||
if (producer.HasTrait<ClonesProducedUnits>())
|
||||
if (producer.Owner != self.Owner || producer.HasTrait<ClonesProducedUnits>())
|
||||
return;
|
||||
|
||||
var ci = produced.Info.Traits.GetOrDefault<CloneableInfo>();
|
||||
|
||||
Reference in New Issue
Block a user