#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
This commit is contained in:
Peter Amrehn
2017-12-22 16:22:34 +01:00
committed by abcdefg30
parent ebd8a2b193
commit 73bd80ebc5

View File

@@ -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")
{