Pass the original init dict to UnitProducedByOther.

This commit is contained in:
Paul Chote
2018-10-28 18:22:17 +00:00
committed by abcdefg30
parent 5e5183549c
commit ea3731a7cc
7 changed files with 8 additions and 7 deletions

View File

@@ -157,7 +157,7 @@ namespace OpenRA.Mods.Common.Traits
var notifyOthers = self.World.ActorsWithTrait<INotifyOtherProduction>();
foreach (var notify in notifyOthers)
notify.Trait.UnitProducedByOther(notify.Actor, self, newUnit, productionType);
notify.Trait.UnitProducedByOther(notify.Actor, self, newUnit, productionType, td);
});
}
}