get rid of capturing lock in Sellable
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user