diff --git a/OpenRA.Mods.RA/Player/ProductionQueue.cs b/OpenRA.Mods.RA/Player/ProductionQueue.cs index 87b12c1075..cdcf526ec8 100755 --- a/OpenRA.Mods.RA/Player/ProductionQueue.cs +++ b/OpenRA.Mods.RA/Player/ProductionQueue.cs @@ -33,7 +33,7 @@ namespace OpenRA.Mods.RA public virtual object Create(ActorInitializer init) { return new ProductionQueue(init.self, init.self.Owner.PlayerActor, this); } } - public class ProductionQueue : IResolveOrder, ITick, ITechTreeElement, INotifyCapture, INotifyKilled, INotifySold, ISync + public class ProductionQueue : IResolveOrder, ITick, ITechTreeElement, INotifyCapture, INotifyKilled, INotifySold, ISync, INotifyTransform { public readonly Actor self; public ProductionQueueInfo Info; @@ -94,6 +94,7 @@ namespace OpenRA.Mods.RA public void Killed(Actor killed, AttackInfo e) { if (killed == self) ClearQueue(); } public void Selling(Actor self) {} public void Sold(Actor self) { ClearQueue(); } + public void OnTransform(Actor self) { ClearQueue(); } Dictionary InitTech(Actor playerActor) {