Remove Order.TargetLocation from support powers.

This commit is contained in:
Paul Chote
2018-12-01 11:40:32 +00:00
parent 7d72aae5ba
commit 6dcd23e874
12 changed files with 26 additions and 25 deletions

View File

@@ -104,7 +104,7 @@ namespace OpenRA.Mods.Common.Traits
base.Activate(self, order, manager);
PlayLaunchSounds();
Activate(self, self.World.Map.CenterOfCell(order.TargetLocation));
Activate(self, order.Target.CenterPosition);
}
public void Activate(Actor self, WPos targetPosition)