#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:
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user