From 2f29e462a8a2380a69a251950bdbceb1c556ca43 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 25 Mar 2011 18:54:53 +1300 Subject: [PATCH] Fix #661 - map placed SAMs cannot attack --- OpenRA.Mods.Cnc/AttackPopupTurreted.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.Cnc/AttackPopupTurreted.cs b/OpenRA.Mods.Cnc/AttackPopupTurreted.cs index 62b5429b7e..4876e073a7 100644 --- a/OpenRA.Mods.Cnc/AttackPopupTurreted.cs +++ b/OpenRA.Mods.Cnc/AttackPopupTurreted.cs @@ -54,7 +54,8 @@ namespace OpenRA.Mods.Cnc State = PopupState.Closed; init.self.Trait() .PlayCustomAnimRepeating(init.self, "closed-idle"); - Turret.desiredFacing = null; + Turret.desiredFacing = null; + buildComplete = true; } }