Remove building lock from ToggleConditionOnOrder.

This commit is contained in:
Paul Chote
2018-10-27 18:00:29 +01:00
committed by abcdefg30
parent 94088d37a6
commit 7bc53dd266
2 changed files with 2 additions and 5 deletions

View File

@@ -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);
}
}