get rid of capturing lock in Sellable

This commit is contained in:
Chris Forbes
2012-09-13 07:10:28 +12:00
parent b0b0fac847
commit c012ea90dd

View File

@@ -26,10 +26,6 @@ namespace OpenRA.Mods.RA
{
if (order.OrderString == "Sell")
{
var capturing = self.TraitOrDefault<Capturable>();
if (capturing != null && capturing.CaptureInProgress)
return;
if (!self.Trait<Building>().Lock())
return;