Use a "real" Move instead of VisualMove in ProductionFromMapEdge

This commit is contained in:
Oliver Brakmann
2016-02-07 22:00:37 +01:00
parent 7a29cfeaea
commit a1e6f65f8f

View File

@@ -65,7 +65,7 @@ namespace OpenRA.Mods.D2k.Traits
var move = newUnit.TraitOrDefault<IMove>();
if (move != null)
newUnit.QueueActivity(move.MoveIntoWorld(newUnit, destination));
newUnit.QueueActivity(move.MoveTo(destination, 2));
newUnit.SetTargetLine(Target.FromCell(self.World, destination), Color.Green, false);