From c012ea90ddb1b07c20fd663e638a6e5db0475795 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 13 Sep 2012 07:10:28 +1200 Subject: [PATCH] get rid of capturing lock in Sellable --- OpenRA.Mods.RA/Sellable.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OpenRA.Mods.RA/Sellable.cs b/OpenRA.Mods.RA/Sellable.cs index a70fbac450..8fdfc533d8 100644 --- a/OpenRA.Mods.RA/Sellable.cs +++ b/OpenRA.Mods.RA/Sellable.cs @@ -26,10 +26,6 @@ namespace OpenRA.Mods.RA { if (order.OrderString == "Sell") { - var capturing = self.TraitOrDefault(); - if (capturing != null && capturing.CaptureInProgress) - return; - if (!self.Trait().Lock()) return;