From 73bd80ebc5a227892cb25151d9af1134ee500041 Mon Sep 17 00:00:00 2001 From: Peter Amrehn Date: Fri, 22 Dec 2017 16:22:34 +0100 Subject: [PATCH] #14542: order CarrryAll to the target's location, not to 0,0 (which is in order.TargetLocation #14542: don't use deprecated TargetActor property, replace by Target.Actor.Location --- OpenRA.Mods.Common/Traits/Harvester.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Harvester.cs b/OpenRA.Mods.Common/Traits/Harvester.cs index 2db33cd1c2..fce4d1daeb 100644 --- a/OpenRA.Mods.Common/Traits/Harvester.cs +++ b/OpenRA.Mods.Common/Traits/Harvester.cs @@ -414,7 +414,7 @@ namespace OpenRA.Mods.Common.Traits self.QueueActivity(deliver); foreach (var n in notify) - n.MovingToRefinery(self, order.TargetLocation, deliver); + n.MovingToRefinery(self, order.Target.Actor.Location, deliver); } else if (order.OrderString == "Stop" || order.OrderString == "Move") {