From 2c5f1de780cb0858c63f004d3f323cc436708e53 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 8 Jun 2014 11:52:39 +1200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20queue=20rallypoint=20move=20if?= =?UTF-8?q?=20MoveIntoWorld:false.=20Fixes=20#5576.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OpenRA.Mods.RA/Production.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.RA/Production.cs b/OpenRA.Mods.RA/Production.cs index af5abf263e..3ea49c4685 100755 --- a/OpenRA.Mods.RA/Production.cs +++ b/OpenRA.Mods.RA/Production.cs @@ -78,10 +78,12 @@ namespace OpenRA.Mods.RA if (move != null) { if (exitinfo.MoveIntoWorld) + { newUnit.QueueActivity(move.MoveIntoWorld(newUnit, exit)); - newUnit.QueueActivity(new AttackMove.AttackMoveActivity( - newUnit, move.MoveWithinRange(target, nearEnough))); + newUnit.QueueActivity(new AttackMove.AttackMoveActivity( + newUnit, move.MoveWithinRange(target, nearEnough))); + } } newUnit.SetTargetLine(target, Color.Green, false);