Fix ProductionAirdrop aircraft removal timing

...when leaving map before finishing TakeOff.
This commit is contained in:
reaperrr
2019-07-22 00:45:23 +02:00
committed by abcdefg30
parent ff1d4ec9ae
commit 64780fc865
2 changed files with 29 additions and 3 deletions

View File

@@ -83,7 +83,7 @@ namespace OpenRA.Mods.Cnc.Traits
Game.Sound.PlayNotification(self.World.Map.Rules, self.Owner, "Speech", info.ReadyAudio, self.Owner.Faction.InternalName);
}));
actor.QueueActivity(new Fly(actor, Target.FromCell(w, endPos)));
actor.QueueActivity(new FlyOffMap(actor, Target.FromCell(w, endPos)));
actor.QueueActivity(new RemoveSelf());
});