From 3ddd1581f18d219f32e1e36fb21429dba1c5e2b7 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 20 Sep 2010 17:28:06 +1200 Subject: [PATCH] add debug for this desync --- OpenRA.Game/Traits/Production.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Game/Traits/Production.cs b/OpenRA.Game/Traits/Production.cs index 1fd146e44e..4b7c960473 100755 --- a/OpenRA.Game/Traits/Production.cs +++ b/OpenRA.Game/Traits/Production.cs @@ -62,6 +62,8 @@ namespace OpenRA.Traits var speed = move.MovementSpeedForCell(self, exit); var length = speed > 0 ? (int)( ( to - spawn ).Length*3 / speed ) : 0; newUnit.QueueActivity(new Activities.Drag(spawn, to, length)); + + Log.Write("debug", "length={0}", length); // For the target line var target = exit;