Remove building lock from ToggleConditionOnOrder.
This commit is contained in:
@@ -50,10 +50,6 @@ namespace OpenRA.Mods.Common.Orders
|
||||
if (underCursor == null)
|
||||
yield break;
|
||||
|
||||
var building = underCursor.TraitOrDefault<Building>();
|
||||
if (building != null && building.Locked)
|
||||
yield break;
|
||||
|
||||
yield return new Order(order, underCursor, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user