From a1e6f65f8ff51cd1ac99312641ac6d5a063b4884 Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Sun, 7 Feb 2016 22:00:37 +0100 Subject: [PATCH] Use a "real" Move instead of VisualMove in ProductionFromMapEdge --- OpenRA.Mods.D2k/Traits/Buildings/ProductionFromMapEdge.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.D2k/Traits/Buildings/ProductionFromMapEdge.cs b/OpenRA.Mods.D2k/Traits/Buildings/ProductionFromMapEdge.cs index 4f296b79e9..9a0bb7cf08 100644 --- a/OpenRA.Mods.D2k/Traits/Buildings/ProductionFromMapEdge.cs +++ b/OpenRA.Mods.D2k/Traits/Buildings/ProductionFromMapEdge.cs @@ -65,7 +65,7 @@ namespace OpenRA.Mods.D2k.Traits var move = newUnit.TraitOrDefault(); 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);